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) in ERPNext 16.16.0 allows an authenticated user with Item edit permissions to persist arbitrary HTML or JavaScript code in the item_name, description, or image fields of an Item record. The injected code is rendered unescaped in the POS cart interface for any operator adding that item to a transaction, leading to a cross-site scripting (CWE-79) issue. The CVSS 4.8 score reflects a medium risk with network attack vector, low confidentiality and integrity impact, and requires high privileges with user interaction.
Potential Impact
An attacker with authenticated access and Item edit permissions can inject malicious scripts that execute in the context of other POS operators' browsers. This could lead to limited confidentiality and integrity impacts such as session manipulation or UI manipulation within the POS interface. The vulnerability does not allow privilege escalation or direct system compromise but can affect the user experience and data integrity in the POS module.
Mitigation Recommendations
No official fix or patch is currently available for this vulnerability. Users should monitor the vendor's advisory for updates. Until a patch is released, restrict Item record edit permissions to trusted users only and consider additional input validation or sanitization controls at the application level to mitigate risk.
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
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-42839) in ERPNext 16.16.0 allows an authenticated user with Item edit permissions to persist arbitrary HTML or JavaScript code in the item_name, description, or image fields of an Item record. The injected code is rendered unescaped in the POS cart interface for any operator adding that item to a transaction, leading to a cross-site scripting (CWE-79) issue. The CVSS 4.8 score reflects a medium risk with network attack vector, low confidentiality and integrity impact, and requires high privileges with user interaction.
Potential Impact
An attacker with authenticated access and Item edit permissions can inject malicious scripts that execute in the context of other POS operators' browsers. This could lead to limited confidentiality and integrity impacts such as session manipulation or UI manipulation within the POS interface. The vulnerability does not allow privilege escalation or direct system compromise but can affect the user experience and data integrity in the POS module.
Mitigation Recommendations
No official fix or patch is currently available for this vulnerability. Users should monitor the vendor's advisory for updates. Until a patch is released, restrict Item record edit permissions to trusted users only and consider additional input validation or sanitization controls at the application level to mitigate risk.
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: 06/03/2026, 19:03:39 UTC
Last enriched: 06/10/2026, 19:40:13 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 75
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.