CVE-2026-13771: Stored XSS in Customer Reviews for WooCommerce Plugin Up to 5.113.0
The Customer Reviews for WooCommerce plugin contains a stored cross-site scripting (XSS) flaw in its shortcode color attribute. Authenticated users with contributor-level permissions or higher can inject malicious scripts into pages; when other users visit those pages, the scripts execute in their browsers. This vulnerability affects all versions through 5.113.0.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.4 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weaknesses (CWE)
- CWE-79
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-07-09 / 2026-07-09
NVD description (verbatim)
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.
10 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-13771 is a Stored XSS vulnerability (CWE-79) in the Customer Reviews for WooCommerce plugin caused by insufficient input sanitization and output escaping in the 'color' shortcode attribute. The vulnerability requires authentication and contributor-level privileges to exploit. An attacker can inject arbitrary JavaScript that persists in the WordPress database and executes in the context of any user viewing the affected page. The CVSS 3.1 score of 6.4 (MEDIUM) reflects network-accessible attack vector, low complexity, low privilege requirements, and cross-site scope with limited confidentiality and integrity impact.
Business impact
Organizations using WooCommerce with the Customer Reviews plugin risk unauthorized modification of page content, session hijacking, credential theft, and malware distribution through trusted product pages. For e-commerce operators, this threatens customer trust, payment security, and compliance obligations (PCI-DSS, GDPR). The stored nature means the attack persists until remediated, affecting all subsequent page visitors rather than single-session exploits.
Affected systems
WordPress installations running the Customer Reviews for WooCommerce plugin in version 5.113.0 or earlier are vulnerable. The attack surface is limited to authenticated users with contributor role or above, though the impact affects any visitor to compromised pages. Multisite WordPress deployments may face broader risk if contributor access is delegated across sites.
Exploitability
Exploitation requires existing WordPress account credentials with contributor, author, editor, or administrator role. No network-level attack or user interaction is needed beyond the initial injection. The vulnerability is straightforward to exploit once access is obtained—a malicious actor simply uses the affected shortcode with injected script payload in the color attribute. The low complexity and absence of special conditions make this a practical risk in environments with delegated content creation workflows.
Remediation
Update the Customer Reviews for WooCommerce plugin to a patched version released after 5.113.0. Verify the fix version against the official WordPress plugin repository and the vendor's security advisory. In the interim, restrict contributor-level access to trusted users and audit existing content for suspicious color attributes in customer review shortcodes. Consider using a Web Application Firewall (WAF) rule to block shortcode injection patterns.
Patch guidance
Check the Customer Reviews for WooCommerce plugin repository and vendor advisories for the patched version addressing this flaw. Update via WordPress admin dashboard (Plugins > Updates) once a fix is available. Before updating, back up your database and test on a staging environment to ensure compatibility with your active shortcodes and custom configurations. Document the update and review any recent changes to product review pages.
Detection guidance
Search WordPress post and page content for 'color' attributes in customer review shortcodes containing unusual JavaScript syntax, event handlers (onclick, onerror), or script tags. Monitor WordPress revision history for unexpected modifications to pages containing this shortcode. Use WordPress security plugins to audit contributor-level edits. In database queries, look for posts_meta entries referencing the affected shortcode with suspicious base64 encoding or HTML entity patterns. Review access logs for contributor accounts accessing post edit screens around the time of suspected injection.
Why prioritize this
Although rated MEDIUM severity, prioritize this vulnerability in environments with distributed content creation (agency partners, franchisees, external contributors). Stored XSS affecting customer-facing pages poses reputational and compliance risk. Organizations must patch within 30 days if contributor access is actively delegated, or within 60 days for single-admin sites. Threat actors may target WooCommerce stores specifically to inject malicious redirects or credential-harvesting forms.
Risk score, explained
The CVSS 3.1 base score of 6.4 reflects: Network-accessible attack surface (AV:N), low attack complexity (AC:L), and low privilege barrier (PR:L—contributor role is readily assigned). The score assumes cross-site scope (S:C), meaning the XSS can affect browsers outside the original vulnerable component. Confidentiality and Integrity are scored as Low (C:L, I:L) because the attacker can read and modify page content visible to other users but cannot directly access system data or authentication tokens. Availability is Not Affected (A:N) because the attack does not degrade service. Organizations with high-value product pages or regulated content should treat this as HIGH priority despite the MEDIUM base score.
Frequently asked questions
Does this vulnerability require me to have a WooCommerce store to be affected?
Yes, you must have WordPress with the Customer Reviews for WooCommerce plugin installed. This is a plugin-specific vulnerability, not a WooCommerce or WordPress core flaw. Sites using alternative review plugins or review systems are not affected.
Can an attacker exploit this vulnerability from outside, or do they need a WordPress account?
An attacker must have a valid WordPress account with at least contributor-level permissions. They cannot exploit this remotely without authentication. However, organizations that grant contributor access to freelancers, agencies, or guest authors create a wider attack surface.
What should I do if I suspect my product pages have been compromised?
First, back up your database and review recent edits to pages containing customer review shortcodes using WordPress audit logs. Search for unusual color attribute values containing script tags or event handlers. Isolate any affected pages, sanitize the malicious content, and change passwords for all contributor-level accounts. Then update the plugin immediately.
Is there a temporary workaround if a patch is not yet available?
Restrict contributor-level access to trusted internal staff only. Use a WAF or WordPress security plugin to block shortcode modifications. You can also disable the color shortcode attribute entirely via plugin filters if you do not require it. These are interim measures—apply the official patch as soon as it is released.
This analysis is provided for informational purposes and represents the state of publicly available vulnerability data as of the publication date. No exploit code or weaponized proof-of-concept is provided. Organizations must verify patch availability and compatibility against vendor advisories and their own environment. SEC.co does not warrant the accuracy of vendor patch information; consult official vendor release notes before applying updates. This vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, but absence from KEV does not indicate lower risk in your environment. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2016-20070MEDIUMPrivilege Escalation & Stored XSS in WordPress Booking Calendar Contact Form 1.0.23
- CVE-2018-25384MEDIUMStored XSS in Wikidforum 2.20 Allows Authenticated Attackers to Inject Malicious Scripts
- CVE-2019-25731MEDIUMStored XSS in Zuz Music 2.1 Contact Form
- CVE-2019-25737MEDIUMStored XSS in Live Chat Unlimited 2.8.3 – Admin Session Compromise
- CVE-2019-25739MEDIUMGigToDo 1.3 Stored XSS Vulnerability in Proposal Descriptions
- CVE-2019-25742MEDIUMStored XSS in Zoner Real Estate WordPress Theme 4.1.1 – Admin Account Compromise Risk
- CVE-2019-25743MEDIUMWordPress Soliloquy Lite 2.5.6 Stored XSS Vulnerability
- CVE-2019-25744MEDIUMWordPress Popup Builder 3.49 Stored XSS Vulnerability – Exploit Prevention & Patch Guide