CVE-2026-5026
7.0high
Langflow - Stored XSS via Malicious SVG Upload
- Severity
- 7.0high CVSS:4.0 by tenable
- Exploit likelihood
- 0.32% (higher than 17% of CVEs)
- Published
- Last changed
- Assigned by
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| langflow-ai langflow | 0 | CVE List |
| langflow langflow | Not specified | NVD |
All scores
| tenable | 7.0high CVSS:4.0 | 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 |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://www.tenable.com/security/research/tra-2026-25 | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-5026 changed 2026-03-27 | CVE Terms of Use |
| NVD | CVE-2026-5026 changed 2026-06-17 | Public domain |