Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-11821: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in elvismdev Woocommerce – Products By Custom Tax

0
Medium
VulnerabilityCVE-2025-11821cvecve-2025-11821cwe-79
Published: Tue Nov 11 2025 (11/11/2025, 03:30:48 UTC)
Source: CVE Database V5
Vendor/Project: elvismdev
Product: 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

AILast updated: 02/27/2026, 19:27:26 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses