CVE-2026-42840

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

Published Jun 3, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title ERPNext 16.16.0 - Stored XSS in POS customer section via unescaped template literals
First Time appeared Frappe
Frappe erpnext
Weaknesses CWE-79
CPEs cpe:2.3:a:frappe:erpnext:16.16.0:*:linux:*:*:*:*:*
cpe:2.3:a:frappe:erpnext:16.16.0:*:macos:*:*:*:*:*
cpe:2.3:a:frappe:erpnext:16.16.0:*:windows:*:*:*:*:*
Vendors & Products Frappe
Frappe erpnext
References
Metrics cvssV4_0

{'score': 5.1, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Fluid Attacks
Published
Updated
Jun 3, 2026, 6:59 PM
Reserved
Apr 30, 2026, 3:23 PM
Status
Deferred
Published
Jun 3, 2026, 7:16 PM
Modified
Jul 22, 2026, 8:10 PM