Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAcquire contributor WordPress account
-
DeliveryCraft 'color' shortcode attribute with JavaScript payload
-
ExploitPublish page containing malicious trust badge shortcode
-
ExecutionVictim user browses to injected page
-
PersistInjected script executes in victim's browser
-
ImpactSteal session cookie or perform admin actions on victim's behalf
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated WordPress account with contributor-level access or higher - contributor is the default lowest WordPress role permitted to create and submit posts containing shortcodes. The attack surface is specifically the 'color' attribute of the trust badge shortcode, rendered through includes/trust-badge/class-cr-trust-badge.php and templates/badge-small.php. The attacker must have the ability to publish, or submit for review, pages or posts where shortcode execution is enabled. Exploitation is blocked for unauthenticated visitors and for roles below contributor (e.g., subscriber). Sites that have explicitly disabled shortcode processing for contributor-level roles, or that restrict the trust badge shortcode via an allowlist, reduce exposure. The scope change (S:C in the CVSS vector) means that once injected, the payload executes in the context of any visiting user's browser, including admins, multiplying downstream impact well beyond the attacker's own privilege level. |
| Impact | The CVSS 3.1 score of 6.4 (Medium) captures the key risk dimensions: network reachability (AV:N), no special conditions (AC:L), low-privilege authentication required (PR:L), and a scope change (S:C) that projects impact onto other users' browser sessions rather than the server itself. The scope change is the most significant risk multiplier - a single contributor account can affect all site visitors, including administrators, enabling privilege escalation via session hijacking or admin-action abuse. The PR:L requirement is a meaningful but not high barrier; many WooCommerce sites grant contributor or author roles to registered customers, review moderators, or guest bloggers. EPSS data was not provided in the input, so exploitation probability cannot be quantified from that signal. No CISA KEV listing exists, and no public proof-of-concept exploit has been identified, reducing the urgency compared to a weaponized or actively-exploited vulnerability. However, Wordfence's direct code-level disclosure with SVN line references makes this straightforwardly reproducible by any analyst who reviews the advisory, raising the realistic risk ceiling even without a published PoC. Overall, this is a genuine medium-priority issue for multi-author or community-facing WooCommerce sites. |
| Exploit ScenarioDerived | An attacker who holds or obtains a contributor-level WordPress account - for example, a registered WooCommerce customer who has been granted the ability to submit product reviews or posts - embeds a trust badge shortcode with a crafted 'color' attribute containing a JavaScript payload (e.g., a cookie-stealing script) into a new or edited page and publishes it. Any authenticated user, including a site administrator, who subsequently visits that page has the malicious script executed silently in their browser, allowing the attacker to capture session tokens and perform administrator-level actions without further credentials. No public proof-of-concept has been identified, but the Wordfence advisory includes precise file and line references that make independent reproduction straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 09, 2026
Stored Cross-Site Scripting in the Customer Reviews for WooCommerce WordPress plugin (all versions ≤ 5.113.0) allows contributor-level authenticated users to inject arbitrary JavaScript via the 'color' attribute of the trust badge shortcode, which then executes in the browsers of every subsequent visitor to the compromised page. The trust badge rendering code in class-cr-trust-badge.php and badge-small.php fails to sanitize or escape shortcode attribute input before writing it to HTML output. No public exploit code has been identified and this vulnerability is not listed in the CISA KEV catalog at time of analysis; a patch commit is referenced in the WordPress SVN repository.
RemediationAI
Update the Customer Reviews for WooCommerce plugin to the version incorporating SVN changeset 3597201, referenced at https://plugins.trac.wordpress.org/changeset?reponame=&old=3597201%40customer-reviews-woocommerce&new=3597201%40customer-reviews-woocommerce - the exact released version number containing this fix is not independently confirmed from available input data, so administrators should update to the latest available version via the WordPress admin dashboard (Plugins > Installed Plugins > Update) or via WP-CLI ('wp plugin update customer-reviews-woocommerce'). As a compensating control prior to patching, restrict contributor-level and author-level WordPress roles to only fully trusted individuals, since exploitation requires at minimum contributor access. If the trust badge shortcode feature is not actively used, disabling or restricting shortcode execution for lower-privileged roles via a shortcode-filtering plugin is an additional mitigation, though this may affect plugin functionality. Administrators should also audit existing published pages and posts for unexpected script content within trust badge shortcode 'color' attributes.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is rooted in the trust badge shortcode subsystem of the Customer Reviews for WooCommerce plugin (CPE: cpe:2.3:a:ivole:customer_reviews_for_woocommerce:*:*:*:*:*:*:*:*). The affected code paths are concentrated in includes/trust-badge/class-cr-trust-badge.php (lines 30, 60, and 334) and templates/badge-small.php, where the 'color' attribute supplied to the trust badge shortcode is interpolated into HTML without applying WordPress output-escaping functions such as esc_attr() or wp_kses(). CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies this as a failure at the output layer: user-controlled shortcode attribute values are written raw into the DOM, permitting an attacker to embed executable script tags or event handlers. Because the injected payload is stored in WordPress post or page content, it persists and executes in the browser of every user - including administrators - who subsequently loads the affected page, satisfying the classic stored-XSS threat model.
Know when Customer Reviews For Woocommerce gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Contributor authentication is required (PR:L); a victim must visit the injected page (UI:R); impact crosses into victim browser sessions via scope change (S:C); no availability impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Customer Reviews for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'color' Shortcode Attribute in all versions up to, and including, 5.113.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Stored Cross-Site Scripting in Customer Reviews for WooCommerce (all versions before 5.118.0) lets unauthenticated attac
The Customer Reviews for WooCommerce WordPress plugin before 5.16.0 does not validate one of its shortcode attribute, wh
Unauthenticated media file upload in the Customer Reviews for WooCommerce WordPress plugin (all versions before 5.113.0)
The Customer Reviews for WooCommerce plugin for WordPress is vulnerable to arbitrary file uploads due to missing file ty
Missing authorization on multiple AJAX settings handlers in Customer Reviews for WooCommerce (all versions before 5.116.
Permanent deletion of arbitrary WordPress Media Library attachments - including administrator-owned product images, logo
Cross-Site Request Forgery (CSRF) vulnerability in Customer Reviews for WooCommerce plugin <= 5.3.5 at WordPress. Rated
Authenticated (subscriber+) Broken Access Control vulnerability in Customer Reviews for WooCommerce plugin <= 5.3.5 at W
Remote unauthenticated attackers can delete arbitrary content, including customer reviews, on WordPress/WooCommerce site
Unauthenticated Sensitive Information Disclosure vulnerability in Customer Reviews for WooCommerce plugin <= 5.3.5 at Wo
Stored cross-site scripting (XSS) in the Customer Reviews for WooCommerce plugin for WordPress, all versions up to and i
Stored cross-site scripting in the Customer Reviews for WooCommerce WordPress plugin (versions up to and including 5.106
EUVD-2026-42526
GHSA-q7qc-p277-8cmp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB