๐Ÿ” CVE Alert

CVE-2026-4080

MEDIUM 6.4

Easy Cart <= 1.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes

CVSS Score
6.4
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-79
Vendor zeshanb
Product easy cart
Published Jun 2, 2026
Last Updated Jun 2, 2026
Stay Ahead of the Next One

Get instant alerts for zeshanb easy cart

Be the first to know when new medium vulnerabilities affecting zeshanb easy cart are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

zeshanb / Easy Cart
0 โ‰ค 1.8

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/73615729-c32a-45f7-b2d8-5c978370e18c?source=cve plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/easy-cart/trunk/plugin.php#L280 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/easy-cart/tags/1.8/plugin.php#L280 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/easy-cart/trunk/plugin.php#L283 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/easy-cart/tags/1.8/plugin.php#L283 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/easy-cart/trunk/plugin.php#L284 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/easy-cart/tags/1.8/plugin.php#L284 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/easy-cart/trunk/plugin.php#L285 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/easy-cart/tags/1.8/plugin.php#L285 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/easy-cart/trunk/plugin.php#L286 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/easy-cart/tags/1.8/plugin.php#L286 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/easy-cart/trunk/plugin.php#L287 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/easy-cart/tags/1.8/plugin.php#L287 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/easy-cart/trunk/plugin.php#L263 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/easy-cart/tags/1.8/plugin.php#L263

Credits

zakaria