CVE-2026-6176: Customer Reviews for WooCommerce <= 5.106.0 - Unauthenticated Stored Cross-Site Scripting via Aggregated Review Form
The Customer Reviews for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the aggregated review form submission in versions up to and including 5.106.0. This is due to insufficient input sanitization and output escaping on user-supplied review comment text. The plugin accepts review submissions from unauthenticated users through the 'crlocalformssubmit' AJAX action without sanitizing HTML content before storing it via wpinsertcomment(), and later renders this stored content on product pages through commenttext() without proper escaping. This makes it possible for unauthenticated attackers with a valid review form URL (obtainable through review reminder emails sent to customers who placed orders) to inject arbitrary web scripts in pages that will execute whenever a user accesses the affected product page.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
wordpress/WooCommerce Customer Reviews pluginto a version that resolves this vulnerability.Fixed in 5.106.0
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker does not need an account or other privileges, but needs a valid aggregated review form URL. These URLs can be obtained from review reminder emails sent to customers who placed orders.
Where does the malicious code execute?
The attacker-supplied review comment is stored and later displayed on the affected product page. The injected script executes when a user visits that product page.
Are sites affected by default?
The vulnerable submission path is the aggregated review form handled by the cr_local_forms_submit AJAX action. Exposure depends on whether valid review form URLs are available through review reminder emails.
How can I identify potential compromise?
Review submitted product comments for unexpected HTML or script content, especially comments submitted through aggregated review forms. Stored payloads may be visible in review text on affected product pages.