CVE-2026-49391

Frappe: Stored XSS in Column Headers via Data Import

Published Aug 6, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
Frappe is a full-stack web application framework. Prior to 16.19.0 and 15.109.0, Data Import does not escape imported column headers before rendering previews and results, allowing an authenticated importer to persist script content that executes when another user views the import interface. This issue is fixed in versions 16.19.0 and 15.109.0.

Analysis

AI-generated

Technical impact

An authenticated user with data import privileges can include arbitrary script code in column header names. Because the framework does not escape these headers when rendering import previews or results, the script executes in the browser of any user who subsequently views the affected interface, resulting in a stored cross‑site scripting vulnerability.

Affected Systems

Frappe framework is affected. Any installation running a version earlier than 16.19.0 or 15.109.0 is vulnerable. The weakness exists in the Data Import functionality across these releases.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The vulnerability is exploitable by an authenticated importer; any subsequent user who views the import preview or results can be impacted. The attack vector is a stored cross‑site scripting through unsanitized data import headers.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Frappe to version 16.19.0 or 15.109.0 or later where this issue is resolved
  • If an upgrade cannot be performed immediately, restrict the Data Import permission to trusted users only, preventing untrusted accounts from creating potentially malicious imports
  • Apply a temporary patch by escaping or sanitizing column header values before rendering them in the import preview or results to mitigate the XSS effect

Generated by OpenCVE AI on August 7, 2026 at 00:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Frappe
Frappe frappe
Vendors & Products Frappe
Frappe frappe
Type Values Removed Values Added
Description Frappe is a full-stack web application framework. Prior to 16.19.0 and 15.109.0, Data Import does not escape imported column headers before rendering previews and results, allowing an authenticated importer to persist script content that executes when another user views the import interface. This issue is fixed in versions 16.19.0 and 15.109.0.
Title Frappe: Stored XSS in Column Headers via Data Import
Weaknesses CWE-79
References
Metrics cvssV4_0

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 7, 2026, 5:21 PM
Reserved
May 29, 2026, 7:08 PM
Status
Deferred
Published
Aug 6, 2026, 10:17 PM
Modified
Sep 8, 2026, 8:51 PM