CVE-2026-5026 Langflow - Stored XSS via Malicious SVG Upload
HighCVSS 7.0
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 0 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| langflow | All versions | No fix listed | No fix yet |
| langflow-ai langflow | = 0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| langflow-ai langflow | = 0 | No fix listed |
| langflow | All versions | No fix listed |
References
- www.tenable.com vendor-advisory