Customer Reviews for WooCommerce <= 5.126.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'slides_to_show' Attribute of cusrev_reviews_slider Shortcode
- ID
- WPSEC-2026-2184
- Plugin
- Customer Reviews for WooCommerce (customer-reviews-woocommerce)
- Affected
- all versions before 5.127.0
- Remediation
- Update to 5.127.0 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-03
- Attack surface
- Customer Reviews for WooCommerce on WPSec AttackSurface
- Fix released
- Published
Description
The Customer Reviews for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'slides_to_show' attribute of the 'cusrev_reviews_slider' shortcode in all versions up to, and including, 5.126.0, due to insufficient input sanitization and output escaping. The attribute value is placed unchanged into the slider settings, which are JSON-encoded and printed inside a single-quoted data-slick HTML attribute without attribute escaping, so a single quote in the value ends the attribute. 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.
References
- https://wpsec.com/vuln/WPSEC-2026-2184/
- https://plugins.svn.wordpress.org/customer-reviews-woocommerce/tags/5.127.0/
- https://wordpress.org/plugins/customer-reviews-woocommerce/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS