Skip to content
OpenAdvisories
High · 7.0 CVE-2026-5026 EUVD-2026-16666GHSA-89f7-r7x8-83q7

Langflow - Stored XSS via Malicious SVG Upload

Published Mar 27, 2026 · Updated Mar 27, 2026 · 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 products

VendorProductAffectedFixed
langflow-ai langflow — —

Advisories 1

References