Cross-Site Scripting Vulnerability in ERPNext Point of Sale Interface by Frappe
CVE-2026-42840

5.1MEDIUM

Key Information:

Vendor

Frappe

Status
Vendor
CVE Published:
3 June 2026

What is CVE-2026-42840?

An authenticated user can inject arbitrary HTML or JavaScript into the email_id or mobile_no fields of a Customer record. This malicious input can then be rendered unescaped in the Point of Sale (POS) interface, affecting every operator who interacts with the compromised customer record. This vulnerability poses a significant risk by potentially allowing attackers to execute harmful scripts in the context of other users, leading to unauthorized actions and data exposure.

Affected Version(s)

ERPNext Windows 16.16.0

References

CVSS V4

Score:
5.1
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
.