CVE-2026-42840 PUBLISHED

ERPNext 16.16.0 - Stored XSS in POS customer section via unescaped template literals

Assigner: Fluid Attacks
Reserved: 30.04.2026 Published: 03.06.2026 Updated: 03.06.2026

An authenticated user can persist arbitrary HTML/JavaScript in the email_id or mobile_no fields of a Customer record and trigger unescaped rendering in the Point of Sale (POS) interface for every operator who selects that customer. This issue affects ERPNext: 16.16.0.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
CVSS Score: 5.1

Product Status

Vendor Frappe
Product ERPNext
Versions Default: unaffected
  • Version 16.16.0 is affected

Credits

  • Fluid Attacks' AI SAST Scanner finder
  • Oscar Naveda finder

References

Problem Types

  • CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') CWE

Impacts

  • CAPEC-592 Stored XSS