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.
References
| Link | Resource |
|---|---|
| https://www.tenable.com/security/research/tra-2026-25 | Vendor Advisory |
Configurations
History
20 Apr 2026, 13:04
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://www.tenable.com/security/research/tra-2026-25 - Vendor Advisory | |
| First Time |
Langflow langflow
Langflow |
|
| CPE | cpe:2.3:a:langflow:langflow:-:*:*:*:*:*:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.4 |
27 Mar 2026, 15:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-27 15:17
Updated : 2026-04-20 13:04
NVD link : CVE-2026-5026
Mitre link : CVE-2026-5026
CVE.ORG link : CVE-2026-5026
JSON object : View
Products Affected
langflow
- langflow
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
