CVE-2025-11821: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in elvismdev Woocommerce – Products By Custom Tax
The Woocommerce – Products By Custom Tax plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'woo_products_custom_tax' shortcode in all versions up to, and including, 2.2. This is due to insufficient input sanitization and output escaping on user supplied attributes. 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.
AI Analysis
Technical Summary
CVE-2025-11821 identifies a stored Cross-Site Scripting (XSS) vulnerability in the Woocommerce – Products By Custom Tax plugin for WordPress, maintained by elvismdev. This vulnerability affects all plugin versions up to and including 2.2. The root cause is improper neutralization of input during web page generation (CWE-79), specifically due to insufficient sanitization and escaping of user-supplied attributes passed to the 'woo_products_custom_tax' shortcode. An attacker with authenticated contributor-level access or higher can craft malicious input that is stored persistently within the plugin's data. When other users access pages containing the injected shortcode, the malicious JavaScript executes in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions. The vulnerability requires no user interaction beyond visiting the compromised page and can be exploited remotely over the network. The CVSS v3.1 base score is 6.4, reflecting network attack vector, low attack complexity, and privileges required but no user interaction. The scope is changed as the vulnerability affects the confidentiality and integrity of users beyond the initial attacker. No patches or official fixes are currently linked, and no known exploits have been reported in the wild as of the publication date (November 11, 2025).
Potential Impact
The impact of CVE-2025-11821 is significant for organizations using the affected Woocommerce plugin, particularly e-commerce sites relying on WordPress. Successful exploitation allows an authenticated contributor or higher to inject persistent malicious scripts, which execute in the context of other users' browsers. This can lead to theft of session cookies, unauthorized actions performed on behalf of users, defacement, or distribution of malware. The vulnerability compromises confidentiality and integrity but does not directly affect availability. Since contributor-level access is required, attackers must first gain some level of authenticated access, which may be easier in environments with weak access controls or compromised accounts. The scope of affected systems is broad given the widespread use of WordPress and WooCommerce globally. Exploitation could damage brand reputation, lead to data breaches, and cause financial losses due to fraud or remediation costs.
Mitigation Recommendations
To mitigate CVE-2025-11821, organizations should immediately restrict contributor-level access to trusted users only and audit existing user roles for unnecessary privileges. Until an official patch is released, administrators can disable or remove the 'woo_products_custom_tax' shortcode usage in content to prevent script injection. Implementing a Web Application Firewall (WAF) with custom rules to detect and block suspicious shortcode attribute patterns can reduce risk. Additionally, applying Content Security Policy (CSP) headers can limit the impact of injected scripts by restricting script execution sources. Regularly monitoring logs for unusual shortcode usage or script injection attempts is advised. Once available, promptly apply vendor patches or updates addressing the vulnerability. Educating content contributors about safe input practices and sanitization can also help prevent exploitation.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, India, Brazil, Japan, Netherlands, Italy, Spain
CVE-2025-11821: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in elvismdev Woocommerce – Products By Custom Tax
Description
The Woocommerce – Products By Custom Tax plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'woo_products_custom_tax' shortcode in all versions up to, and including, 2.2. This is due to insufficient input sanitization and output escaping on user supplied attributes. 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-11821 identifies a stored Cross-Site Scripting (XSS) vulnerability in the Woocommerce – Products By Custom Tax plugin for WordPress, maintained by elvismdev. This vulnerability affects all plugin versions up to and including 2.2. The root cause is improper neutralization of input during web page generation (CWE-79), specifically due to insufficient sanitization and escaping of user-supplied attributes passed to the 'woo_products_custom_tax' shortcode. An attacker with authenticated contributor-level access or higher can craft malicious input that is stored persistently within the plugin's data. When other users access pages containing the injected shortcode, the malicious JavaScript executes in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions. The vulnerability requires no user interaction beyond visiting the compromised page and can be exploited remotely over the network. The CVSS v3.1 base score is 6.4, reflecting network attack vector, low attack complexity, and privileges required but no user interaction. The scope is changed as the vulnerability affects the confidentiality and integrity of users beyond the initial attacker. No patches or official fixes are currently linked, and no known exploits have been reported in the wild as of the publication date (November 11, 2025).
Potential Impact
The impact of CVE-2025-11821 is significant for organizations using the affected Woocommerce plugin, particularly e-commerce sites relying on WordPress. Successful exploitation allows an authenticated contributor or higher to inject persistent malicious scripts, which execute in the context of other users' browsers. This can lead to theft of session cookies, unauthorized actions performed on behalf of users, defacement, or distribution of malware. The vulnerability compromises confidentiality and integrity but does not directly affect availability. Since contributor-level access is required, attackers must first gain some level of authenticated access, which may be easier in environments with weak access controls or compromised accounts. The scope of affected systems is broad given the widespread use of WordPress and WooCommerce globally. Exploitation could damage brand reputation, lead to data breaches, and cause financial losses due to fraud or remediation costs.
Mitigation Recommendations
To mitigate CVE-2025-11821, organizations should immediately restrict contributor-level access to trusted users only and audit existing user roles for unnecessary privileges. Until an official patch is released, administrators can disable or remove the 'woo_products_custom_tax' shortcode usage in content to prevent script injection. Implementing a Web Application Firewall (WAF) with custom rules to detect and block suspicious shortcode attribute patterns can reduce risk. Additionally, applying Content Security Policy (CSP) headers can limit the impact of injected scripts by restricting script execution sources. Regularly monitoring logs for unusual shortcode usage or script injection attempts is advised. Once available, promptly apply vendor patches or updates addressing the vulnerability. Educating content contributors about safe input practices and sanitization can also help prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-10-15T17:29:32.050Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6912b12e14bc3e00ba783cb4
Added to database: 11/11/2025, 3:44:46 AM
Last enriched: 2/27/2026, 7:27:26 PM
Last updated: 3/24/2026, 11:55:06 PM
Views: 102
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.