CVE-2026-5026
Severity CVSS v4.0:
HIGH
Type:
CWE-79
Cross-Site Scripting (XSS)
Publication date:
27/03/2026
Last modified:
20/04/2026
Description
The &#39;/api/v1/files/images/{flow_id}/{file_name}&#39; endpoint serves SVG files with the &#39;image/svg+xml&#39; content type without sanitizing their content.<br />
<br />
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.
Impact
Base Score 4.0
7.00
Severity 4.0
HIGH
Base Score 3.x
5.40
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:langflow:langflow:-:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



