Description
The Customer Reviews for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'slides_to_show' parameter in all versions up to, and including, 5.126.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ivole | Customer Reviews for WooCommerce | ≤ 5.126.0 | — |
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/490604c2-9bb5-497c-8c49-ed5ecc8b8cad?source=cve
- https://plugins.trac.wordpress.org/browser/customer-reviews-woocommerce/tags/5.126.0/includes/blocks/class-cr-reviews-slider.php#L328
- https://plugins.trac.wordpress.org/browser/customer-reviews-woocommerce/tags/5.126.0/templates/reviews-slider.php#L6
- https://plugins.trac.wordpress.org/browser/customer-reviews-woocommerce/tags/5.126.0/includes/blocks/class-cr-reviews-slider.php#L423
- https://plugins.trac.wordpress.org/changeset/3778831/
- https://plugins.trac.wordpress.org/changeset/3778831/customer-reviews-woocommerce/trunk/templates/reviews-slider.php