CVE-2026-42840

MEDIUM

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

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Third Party Advisory third-party-advisory
https://fluidattacks.com/es/advisories/weeknd

Scores

CVSS v4 5.1
EPSS 0.0024
EPSS Percentile 15.2%
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (1)
Frappe/ERPNext 16.16.0
Published Jun 03, 2026
Tracked Since Jun 04, 2026