CVE-2026-49391 Frappe: Stored XSS in Column Headers via Data Import
An authenticated attacker can inject malicious scripts into data import column headers, which execute when other users view the import interface.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-49391?
CVE-2026-49391 is a medium-severity cross-site scripting vulnerability in frappe, published on 6 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-49391?
How do I fix CVE-2026-49391?
No fix has been published for CVE-2026-49391 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-49391 being exploited?
There is no known exploitation of CVE-2026-49391 in the wild and no public exploit code.
Sources
Also known as GHSA-7f28-gm9h-q6rg.