Stored Cross-Site Scripting in Easy Cart Plugin for WordPress
CVE-2026-4080

6.4MEDIUM

Key Information:

Vendor

WordPress

Status
Vendor
CVE Published:
2 June 2026

What is CVE-2026-4080?

The Easy Cart plugin for WordPress presents a Stored Cross-Site Scripting (XSS) vulnerability due to inadequate sanitization of user inputs associated with the 'add_to_cart' shortcode. Specifically, the ectp_add_to_cart() function utilizes sanitize_text_field() on shortcode attributes such as 'itemid', 'product_name', 'product_desc', 'product_qty', and 'price'. Although this function removes HTML tags, it fails to escape double quote characters, permitting attackers with Contributor-level access or higher to inject malicious scripts into HTML attributes. This vulnerability can lead to the execution of arbitrary scripts in the context of an authenticated user's browsing session, thus compromising the security of affected WordPress sites.

Affected Version(s)

Easy Cart 0 <= 1.8

References

CVSS V3.1

Score:
6.4
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

zakaria
.