CVE-2026-5026
published high CVSS 4.0 · 7.0Langflow - Stored XSS via Malicious SVG Upload
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| langflow-ai | — | langflow0 · Other versions: unaffected | Affected | Not stated | tenable |
Description
The '/api/v1/files/images/{flow_id}/{file_name}' endpoint serves SVG files with the 'image/svg+xml' content type without sanitizing their content. Since SVG files can contain embedded JavaScript, an attacker can upload a malicious SVG that executes arbitrary JavaScript when viewed by other users, leading to stored cross-site scripting (XSS). This allows stealing authentication tokens stored in cookies, including JWT access and refresh tokens.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- tenable · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| langflow-ai | langflow | 0 (affected · custom)Default: unaffected | tenable · cna |
Weaknesses
1- CWE-79 CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')
References
1Provider assertions
2tenable · cna
Langflow - Stored XSS via Malicious SVG Upload
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3c5af3295030e13b59d0a8911a64e22ff9bdc2f0ea5ac3ff105eddc166da0a1c
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record