Atomic Edge analysis of CVE-2026-4080 (metadata-based):
The Easy Cart plugin for WordPress (version 1.8 and earlier) contains a stored cross-site scripting vulnerability in its ‘add_to_cart’ shortcode handler. Authenticated users with Contributor-level access or higher can inject arbitrary JavaScript into pages by exploiting insufficient output escaping on shortcode attributes.
The vulnerability carries a CVSS score of 6.4 (Medium severity) with a CWE-79 classification for improper neutralization of input during web page generation.
Root Cause: The vulnerability stems from the ectp_add_to_cart() function’s use of sanitize_text_field() on shortcode attributes such as ‘itemid’, ‘product_name’, ‘product_desc’, ‘product_qty’, and ‘price’.
Based on the CWE and description, sanitize_text_field() strips HTML tags but fails to escape double quote characters. When the filtered value is inserted into a double-quoted HTML attribute context.







