{"id":"CVE-2026-42840","aliases":["CVE-2026-42840"],"related":[],"kind":"vulnerability","state":"published","title":"ERPNext 16.16.0 - Stored XSS in POS customer section via unescaped template literals","summary":"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.\nThis issue affects ERPNext: 16.16.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\nThis issue affects ERPNext: 16.16.0.","source":"cvelist"},{"lang":"es","text":"Un usuario autenticado puede persistir HTML/JavaScript arbitrario en los campos email_id o mobile_no de un registro de Cliente y desencadenar una renderización sin escape en la interfaz del Punto de Venta (POS) para cada operador que seleccione a ese cliente.\nEste problema afecta a ERPNext: 16.16.0.","source":"nvd"}],"published":"2026-06-03T17:35:04.126Z","modified":"2026-07-22T20:10:00.127Z","severity":{"scorer":"Fluid Attacks","scheme":"CVSS:4.0","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","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"Fluid Attacks","scheme":"CVSS:4.0","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","score":5.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"16.16.0","status":"affected"}],"vendor":"Frappe","product":"ERPNext","platforms":["Windows","MacOS","Linux"],"source":"cvelist"}],"references":[{"url":"https://fluidattacks.com/es/advisories/weeknd","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/frappe/erpnext","tags":["product"],"sources":["cvelist","nvd"]}],"credits":["Fluid Attacks' AI SAST Scanner","Oscar Naveda"],"assigner":"Fluid Attacks","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-03T18:59:20.378Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42840","url":"https://www.cve.org/CVERecord?id=CVE-2026-42840","licence":"CVE Terms of Use","modified":"2026-06-03T18:59:26.898Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42840","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42840","licence":"Public domain","modified":"2026-07-22T20:10:00.127Z"}],"updatedAt":"2026-11-25T22:59:23.667Z","epss":{"score":0.00243,"percentile":0.16588,"date":"2026-12-02T12:00:21.000Z"}}