Cross-Site Scripting Vulnerability in ERPNext by Frappe
CVE-2026-42839

4.8MEDIUM

Key Information:

Vendor

Frappe

Status
Vendor
CVE Published:
3 June 2026

What is CVE-2026-42839?

A vulnerability in ERPNext allows an authenticated user with the ability to edit item records to inject arbitrary HTML and JavaScript into the item_name, description, or image fields. This malicious input can trigger unescaped rendering within the Point of Sale (POS) cart interface, potentially compromising the security of transactions for all operators who interact with the affected item. This issue emphasizes the need for stringent validation and sanitization of user input to mitigate the risks of cross-site scripting attacks.

Affected Version(s)

ERPNext Windows 16.16.0

References

CVSS V4

Score:
4.8
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Fluid Attacks' AI SAST Scanner
Oscar Naveda
.