Description
Frappe ERPNext before 15.120.0 and 16.x before 16.33.0 contains a stored cross-site scripting vulnerability in a report view that interpolates stored record names into markup without escaping. Authenticated users able to create records can store crafted record names that execute script in the session of any user who later opens the report.
Published: 2026-10-12
Score: 8.5 High
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch Now
AI Analysis

Impact

The vulnerability lies in the way the ERPNext report view renders stored record names. Record names are inserted directly into HTML markup without any escaping, allowing an attacker who can create or modify records to inject JavaScript. When a user opens the affected report, the injected script runs in the context of that user's browser, providing the attacker with the same level of access as the victim. This can lead to session hijacking, credential theft, or other malicious actions carried out on behalf of the user.

Affected Systems

Frappe ERPNext editions running before 15.120.0 and the 16.x series before 16.33.0 are impacted. Products affected include all installations that provide the default report‑view functionality where record names are displayed. The weakness exists for any instance that has the standard report‑view feature enabled. No additional third‑party applications are known to be affected.

Risk and Exploitability

The CVSS score of 8.5 classifies the issue as high severity, and the vulnerability is available as a stored XSS that requires authentication but does not need elevated privileges. Because the EPSS score is not reported and the vulnerability is not listed in CISA's KEV catalog, the current exploitation probability appears low, but the impact is significant if exploitation succeeds. An attacker who can create or update records in the system can inject malicious code that will execute whenever any user views the affected report, potentially compromising confidential data or session integrity. The weakness, classified as CWE‑79, is typically exploited by leveraging the authenticated user's context to bypass browser Same‑Origin Policy protections.

Generated by OpenCVE AI on October 12, 2026 at 23:46 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ERPNext to version 15.120.0 or later, or to the 16.33.0 release or newer, which contains the patch for the stored XSS flaw.
  • Ensure all custom modules or scripts that display record names also apply proper HTML escaping or output encoding before rendering.
  • Restrict user permissions so that only trusted roles can create or edit records that are displayed in report views, thereby limiting the attack surface for XSS injection.

Generated by OpenCVE AI on October 12, 2026 at 23:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 12 Oct 2026 22:45:00 +0000

Type Values Removed Values Added
Description Frappe ERPNext before 15.120.0 and 16.x before 16.33.0 contains a stored cross-site scripting vulnerability in a report view that interpolates stored record names into markup without escaping. Authenticated users able to create records can store crafted record names that execute script in the session of any user who later opens the report.
Title Frappe ERPNext before 15.120.0 Stored XSS via Report View
First Time appeared Frappe
Frappe erpnext
Weaknesses CWE-79
CPEs cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*
Vendors & Products Frappe
Frappe erpnext
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-12T22:21:59.712Z

Reserved: 2026-10-12T21:03:50.775Z

Link: CVE-2026-109612

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-12T23:17:25.157

Modified: 2026-10-12T23:17:25.293

Link: CVE-2026-109612

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T00:00:16Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')