CVE-2026-42840CWE-79

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

Medium · published June 3, 2026

CVSS v4.0
5.1
EPSS
0%
Percentile
34.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.1 · MEDIUM
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
EPSS
0.00412 · 34.3th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-06-03T17:35Z
EPSS history
Timeline
  • 03 JUN 17:35Z
    ERPNext 16.16.0 - Stored XSS in POS customer section via unescaped template literals
    cvelistv5