What’s Vulnerable › Vulnerabilities
CVE-2026-42840: ERPNext 16.16.0 - Stored XSS in POS customer section via unescaped template literals
- Severity: medium (CVSS 5.1 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-03 · updated 2026-07-22
- Weakness: CWE-79
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.
Affected products
- frappe erpnext: 16.16.0
References
- https://fluidattacks.com/es/advisories/weeknd
- https://github.com/frappe/erpnext
- https://fluidattacks.com/es/advisories/weeknd
Get alerted when CVE-2026-42840 or the next vulnerability affects your stack