CVE Catalog

CVE-2026-119220

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.52%

46th percentile - higher than 46% of all known CVEs

Summary

The Dokan plugin for WordPress (up to and including 5.3.3) contains an authorization bypass caused by an unanchored regular expression in the matches_mcp_endpoint() function. Any request whose URI contains the literal substring '/dokan/mcp/' or '/woocommerce/mcp/' — even inside a query parameter value — is incorrectly treated as a trusted internal MCP context, causing the WooCommerce REST permission filter to unconditionally return true. This allows unauthenticated attackers to read full authenticated WooCommerce REST product records across the /wc/v1, /wc/v2, /wc/v3, and /wc-analytics namespaces, including private meta, purchase notes, and downloadable file URLs.

Risk Assessment

An unauthenticated attacker can disclose sensitive product data, including private metadata, purchase notes, and URLs to paid digital files, potentially leading to intellectual property leakage and financial loss.

Recommendation

Update the Dokan plugin to a version later than 5.3.3 as soon as it becomes available; in the meantime, consider disabling the plugin or restricting access to the WooCommerce REST API. Monitor logs for requests containing '/dokan/mcp/' or '/woocommerce/mcp/' in the URI.

Other vulnerabilities in Dokan

See all
Original NVD description (English source)

The Dokan: AI Powered WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy plugin for WordPress is vulnerable to Authorization Bypass in all versions up to, and including, 5.3.3. The vulnerability exists because the `matches_mcp_endpoint()` function applies an unanchored regular expression (`#/(?:woocommerce|dokan)/mcp(?:/|$)#`) against the entire `REQUEST_URI` including the query string, meaning any request that contains the literal substring `/dokan/mcp/` or `/woocommerce/mcp/` anywhere in its URI — including inside a query parameter value — is incorrectly treated as a trusted internal MCP context, causing `scope_product_permissions()` to unconditionally return `true` on WooCommerce's `woocommerce_rest_check_permissions` filter regardless of whether the caller is authenticated. This makes it possible for unauthenticated attackers to read full authenticated WooCommerce REST product records for any published product — including private underscore-prefixed meta, purchase notes, downloadable file URLs for paid digital products, catalog-hidden products, and edit-context representations — across the `/wc/v1`, `/wc/v2`, `/wc/v3`, and `/wc-analytics` REST namespaces. The bypass is triggered by appending a query parameter whose value contains the literal string `/dokan/mcp/` to any WooCommerce REST product endpoint (e.g., `/wp-json/wc/v3/products/{id}?x=/dokan/mcp/`); note that percent-encoding the slashes prevents the bypass, as the unencoded literal slash characters are required for the regex to match.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS