XSS in Frappe Erpnext

CVE-2026-42840

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

EPSS exploit prediction

EPSS: 0.004 (32.9th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 33rd percentile — 32.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-42840: held from 0.002 to 0.004.

EPSS over last 30 days · oldest: 0.002 · newest: 0.004 · change: +0.002

Affected products

Weakness classification (CWE)

References