Description
The Product Import Export for WooCommerce – CSV Product Importer & Exporter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'author (initial store via wp-comments-post.php) / CSV cell on import' parameter in all versions up to, and including, 2.6.9 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit requires an administrator to approve the attacker's review, then export and re-import it using the plugin's default column mapping, with the import taking the INSERT branch — which occurs automatically on any site whose database table prefix is not the literal 'wp_', when the CSV has no comment_ID mapping, or when the original review has been trashed. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- High
- Privileges required
- None (no login)
- User interaction
- Required
- Scope
- Affects other components
- Confidentiality
- Low impact
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- www.wordfence.com/threat-intel/vulnerabilities/id/cbe470eb-cebe-4c36-8281-044f8e3dc49c?sou
- plugins.trac.wordpress.org/browser/product-import-export-for-woo/tags/2.6.9/admin/modules/
- plugins.trac.wordpress.org/browser/product-import-export-for-woo/tags/2.6.9/admin/modules/
- plugins.trac.wordpress.org/browser/product-import-export-for-woo/tags/2.6.9/admin/modules/
- plugins.trac.wordpress.org/browser/product-import-export-for-woo/tags/2.6.9/admin/modules/
- plugins.trac.wordpress.org/browser/product-import-export-for-woo/tags/2.6.9/admin/modules/
- plugins.trac.wordpress.org/changeset/3811759/product-import-export-for-woo/trunk/admin/mod
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.