CVE-2025-11821

Woocommerce – Products By Custom Tax <= 2.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode

Published Nov 11, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The WooCommerce – Products By Custom Tax plugin is vulnerable to stored cross‑site scripting through the woo_products_custom_tax shortcode. Input attributes are not properly sanitized or escaped, allowing an authenticated user with contributor‑level access or higher to inject arbitrary JavaScript that is saved to the page and executed whenever any visitor loads the affected content. The description does not detail the specific consequences of the injected script; it only states that the script runs in the context of legitimate users. Based on the description, the attacker must have contributor‑level access or higher to inject the payload.

Affected Systems

WordPress sites that have installed the WooCommerce – Products By Custom Tax plugin by the vendor Elvismdev. All plugin versions up to and including 2.2 are affected.

Risk and Exploitability

The CVSS score of 6.4 indicates a medium severity exposure. The EPSS score is below 1%, suggesting a low likelihood of mass exploitation at this time, and the vulnerability is not currently listed in the CISA KEV catalog. However, the attack requires an authenticated contributor‑level role; once the payload is stored it will affect all users who view the injected page. Given that the payload can affect all users who view the injected page, administrators should consider this a priority issue.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the WooCommerce – Products By Custom Tax plugin to a version newer than 2.2.
  • If an upgrade cannot be applied immediately, revoke or downgrade contributor‑level permissions for users who can edit content or disable the woo_products_custom_tax shortcode in existing posts.
  • Deploy a web application firewall rule that detects and blocks script payloads inserted into shortcode attributes.

Generated by OpenCVE AI on April 22, 2026 at 00:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Elvismdev
Elvismdev products By Custom Tax
Woocommerce
Woocommerce woocommerce
Wordpress
Wordpress wordpress
Vendors & Products Elvismdev
Elvismdev products By Custom Tax
Woocommerce
Woocommerce woocommerce
Wordpress
Wordpress wordpress
Type Values Removed Values Added
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.
Title Woocommerce – Products By Custom Tax <= 2.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:23 PM
Reserved
Oct 15, 2025, 5:29 PM
Status
Deferred
Published
Nov 11, 2025, 4:15 AM
Modified
Oct 18, 2026, 9:10 PM