Customer Reviews for WooCommerce <= 5.122.0 - Unauthenticated Stored Cross-Site Scripting via Comment Author Name
What fixes it
No source in this snapshot names a fixed version.
Description
The Customer Reviews for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Author Name in all versions up to, and including, 5.122.0 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. This requires the image attachment feature (ivole_attach_image) to be enabled, which allows unauthenticated attackers to both submit a review with an entity-encoded malicious author name and upload an attached image via the publicly accessible wp_ajax_nopriv_cr_upload_local_images_frontend endpoint.
Text from CVE List
Affected versions 1
- Customer Reviews for WooCommerceaffected: all versions through 5.122.0CVE List
References 6
- wordfence.com/threat-intel/vulnerabilities/id/01573bd1-7ac0-4a12-9bf1-097db4d5ec1e?source=cveReferencevia CVE List
- plugins.trac.wordpress.org/browser/customer-reviews-woocommerce/tags/5.122.0/includes/reviews/class-cr-reviews-list-table.php#L1051Referencevia CVE List
- plugins.trac.wordpress.org/browser/customer-reviews-woocommerce/tags/5.122.0/js/all-reviews.js#L18Referencevia CVE List
- plugins.trac.wordpress.org/browser/customer-reviews-woocommerce/tags/5.122.0/includes/reviews/class-cr-reviews.php#L238Referencevia CVE List
- plugins.trac.wordpress.org/browser/customer-reviews-woocommerce/tags/5.122.0/includes/reviews/class-cr-reviews.php#L63Referencevia CVE List
- plugins.trac.wordpress.org/changeset/3716157/Referencevia CVE List