CVE-2026-42839: ERPNext 16.16.0 - Stored XSS in POS cart item rendering

Published Jun 3, 2026
·
Updated

An authenticated ERPNext user with Item record edit permissions can persist arbitrary HTML/JavaScript in the itemname, 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.

Affected Software

1 affected component
Frappe ERPNext=16.16.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Remove or revoke Item record edit permissions from users who do not require them for their role; restrict assignment of this permission to administrators or trusted operators only.

    ERPNext Item record edit permissions = restrict to trusted/administrative users
  2. Operational

    Audit Item records (item_name, description, image fields) for embedded HTML/JavaScript and remove or sanitize any suspicious or unexpected content. After sanitization, clear relevant caches and restart POS services if required.

Event History

Jun 3, 2026
CVE Published
via MITRE·05:44 PM
Data Sourced
via MITRE·05:44 PM
DescriptionWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-42839?

The severity of CVE-2026-42839 is rated as 50.

2

How do I mitigate CVE-2026-42839?

Mitigation for CVE-2026-42839 involves sanitizing user input to prevent unescaped HTML/JavaScript in item fields.

3

Who is affected by CVE-2026-42839?

CVE-2026-42839 affects authenticated ERPNext users with Item record edit permissions.

4

What type of vulnerability is CVE-2026-42839?

CVE-2026-42839 is a Stored Cross-Site Scripting (XSS) vulnerability.

5

In which software does CVE-2026-42839 exist?

CVE-2026-42839 exists in the ERPNext 16.16.0 version of the Frappe ERPNext software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203