CVE-2026-42839 PUBLISHED

ERPNext 16.16.0 - Stored XSS in POS cart item rendering

Assigner: Fluid Attacks
Reserved: 30.04.2026 Published: 03.06.2026 Updated: 03.06.2026

An authenticated ERPNext user with Item record edit permissions can persist arbitrary HTML/JavaScript in the item_name, description, or image fields of an Item and trigger unescaped rendering in the Point of Sale (POS) cart interface for every operator who adds that item to a transaction.This issue affects ERPNext: 16.16.0.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
CVSS Score: 4.8

Product Status

Vendor Frappe
Product ERPNext
Versions Default: unaffected
  • Version 16.16.0 is affected

Credits

  • Fluid Attacks' AI SAST Scanner finder
  • Oscar Naveda finder

References

Problem Types

  • CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') CWE

Impacts

  • CAPEC-592 Stored XSS