Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 84%

CVE-2026-4080: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in zeshanb Easy Cart

0
Medium
VulnerabilityCVE-2026-4080cvecve-2026-4080cwe-79
Published: 06/02/2026 (06/02/2026, 07:48:30 UTC)
Source: CVE Database V5
Vendor/Project: zeshanb
Product: Easy Cart

Description

The Easy Cart WordPress plugin contains a stored cross-site scripting (XSS) vulnerability in its 'add_to_cart' shortcode in all versions up to and including 1.8. This occurs because user-supplied shortcode attributes are sanitized with sanitize_text_field(), which does not escape double quotes, allowing injection of arbitrary event handlers. Authenticated users with Contributor-level access or higher can exploit this to inject malicious scripts that execute when other users view the affected pages.

CVSS v3.1

Score 6.4medium

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

Affected software

Affected versions
<=1.8

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/09/2026, 09:53:37 UTC

Technical Analysis

CVE-2026-4080 is a stored cross-site scripting vulnerability in the Easy Cart WordPress plugin by zeshanb. The vulnerability arises from insufficient sanitization and escaping of user input in the ectp_add_to_cart() function, which processes shortcode attributes such as 'itemid', 'product_name', 'product_desc', 'product_qty', and 'price'. Although sanitize_text_field() is used, it does not escape double quote characters, enabling attackers to break out of HTML attribute contexts and inject arbitrary JavaScript event handlers. This flaw allows authenticated users with Contributor or higher privileges to inject persistent scripts that execute in the context of any user viewing the compromised page.

Potential Impact

An attacker with Contributor-level or higher access can inject malicious scripts into pages via the vulnerable shortcode attributes. These scripts execute whenever any user accesses the infected page, potentially leading to session hijacking, privilege escalation, or other client-side attacks. The vulnerability impacts confidentiality and integrity but does not affect availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict Contributor-level access to trusted users only and consider disabling or removing the Easy Cart plugin if possible. Monitor for updates from the vendor regarding an official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-03-12T20:44:26.013Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a1e9560e29bf47b50adbe76

Added to database: 06/02/2026, 08:33:36 UTC

Last enriched: 06/09/2026, 09:53:37 UTC

Last updated: 07/31/2026, 15:38:35 UTC

Views: 56

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses