Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-4080 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://plugins.trac.wordpress.org/browser/easy-cart/tags/1.8/plugin.php#L263 [email protected]Broken LinkSource CodeVendor
https://plugins.trac.wordpress.org/browser/easy-cart/tags/1.8/plugin.php#L280 [email protected]Broken LinkSource CodeVendor
https://plugins.trac.wordpress.org/browser/easy-cart/tags/1.8/plugin.php#L283 [email protected]Broken LinkSource CodeVendor
https://plugins.trac.wordpress.org/browser/easy-cart/tags/1.8/plugin.php#L284 [email protected]Broken LinkSource CodeVendor
https://plugins.trac.wordpress.org/browser/easy-cart/tags/1.8/plugin.php#L285 [email protected]Broken LinkSource CodeVendor

see all 15 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')[email protected]

Affected Products

ProductVersions
Easy Cart
<= 1.8

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • No remediation found in references.

Change History

4 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-4080
NVD Published Date:
Jun 2, 2026
NVD Last Modified:
Jul 22, 2026
Source:
[email protected]
CVE-2026-4080 Details - Not Deferred