CVE-2026-42839: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Frappe ERPNext
An authenticated ERPNext user with Item record edit permissions can persist arbitrary HTML/JavaScript in the item_name, description, or image fields of an Item and trigger unescaped rendering in the Point of Sale (POS) cart interface for every operator who adds that item to a transaction.This issue affects ERPNext: 16.16.0.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-42839) involves improper neutralization of input during web page generation (CWE-79) in the ERPNext product by Frappe. Specifically, an authenticated user with Item record edit permissions can persist arbitrary HTML or JavaScript in the item_name, description, or image fields of an Item. This malicious content is rendered without proper escaping in the POS cart interface, potentially allowing cross-site scripting attacks against other operators using the POS system. The issue affects ERPNext version 16.16.0. The CVSS 4.0 base score is 4.8, reflecting medium severity with network attack vector, low complexity, and requiring privileges and user interaction.
Potential Impact
Successful exploitation allows an authenticated user with item edit permissions to inject malicious scripts that execute in the context of other POS operators' browsers when they add the compromised item to a transaction. This could lead to session hijacking, unauthorized actions, or data exposure within the POS interface. The impact is limited by the need for authenticated access and user interaction. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, organizations should restrict item edit permissions to trusted users only and monitor for suspicious activity related to item modifications. Avoid adding untrusted items to POS transactions. Follow vendor updates closely for any forthcoming patches or mitigations.
CVE-2026-42839: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Frappe ERPNext
Description
An authenticated ERPNext user with Item record edit permissions can persist arbitrary HTML/JavaScript in the item_name, description, or image fields of an Item and trigger unescaped rendering in the Point of Sale (POS) cart interface for every operator who adds that item to a transaction.This issue affects ERPNext: 16.16.0.
CVSS v4.0
Score 4.8medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-42839) involves improper neutralization of input during web page generation (CWE-79) in the ERPNext product by Frappe. Specifically, an authenticated user with Item record edit permissions can persist arbitrary HTML or JavaScript in the item_name, description, or image fields of an Item. This malicious content is rendered without proper escaping in the POS cart interface, potentially allowing cross-site scripting attacks against other operators using the POS system. The issue affects ERPNext version 16.16.0. The CVSS 4.0 base score is 4.8, reflecting medium severity with network attack vector, low complexity, and requiring privileges and user interaction.
Potential Impact
Successful exploitation allows an authenticated user with item edit permissions to inject malicious scripts that execute in the context of other POS operators' browsers when they add the compromised item to a transaction. This could lead to session hijacking, unauthorized actions, or data exposure within the POS interface. The impact is limited by the need for authenticated access and user interaction. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, organizations should restrict item edit permissions to trusted users only and monitor for suspicious activity related to item modifications. Avoid adding untrusted items to POS transactions. Follow vendor updates closely for any forthcoming patches or mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Fluid Attacks
- Date Reserved
- 2026-04-30T15:23:30.711Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a207a8be29bf47b50dc515e
Added to database: 6/3/2026, 7:03:39 PM
Last enriched: 6/3/2026, 7:19:13 PM
Last updated: 6/4/2026, 4:59:48 AM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.