CVE-2026-4080 json
Easy Cart <= 1.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
published 2026-06-02 5 mo ago modified 2026-07-22 3 mo ago also EUVD-2026-33892
- cvss
- 6.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
Affected products
- zeshanb Easy Cart
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
- wordfence.com /threat-intel/vulnerabilities/id/73615729-c32a-45f7-b2d8-5c978370e18c?source=cve
- plugins.trac.wordpress.org /browser/easy-cart/trunk/plugin.php#L280
- plugins.trac.wordpress.org /browser/easy-cart/tags/1.8/plugin.php#L280
- plugins.trac.wordpress.org /browser/easy-cart/trunk/plugin.php#L283
- plugins.trac.wordpress.org /browser/easy-cart/tags/1.8/plugin.php#L283
- plugins.trac.wordpress.org /browser/easy-cart/trunk/plugin.php#L284
- plugins.trac.wordpress.org /browser/easy-cart/tags/1.8/plugin.php#L284
- plugins.trac.wordpress.org /browser/easy-cart/trunk/plugin.php#L285
- plugins.trac.wordpress.org /browser/easy-cart/tags/1.8/plugin.php#L285
- plugins.trac.wordpress.org /browser/easy-cart/trunk/plugin.php#L286
- plugins.trac.wordpress.org /browser/easy-cart/tags/1.8/plugin.php#L286
- plugins.trac.wordpress.org /browser/easy-cart/trunk/plugin.php#L287
- plugins.trac.wordpress.org /browser/easy-cart/tags/1.8/plugin.php#L287
- plugins.trac.wordpress.org /browser/easy-cart/trunk/plugin.php#L263
- plugins.trac.wordpress.org /browser/easy-cart/tags/1.8/plugin.php#L263
Sources
- CVE List CVE-2026-4080
- NVD CVE-2026-4080
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.