CVE-2026-5026

MEDIUM

Langflow - Stored XSS via Malicious SVG Upload

Title source: cna
STIX 2.1

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.

References (1)

Core 1

Scores

CVSS v3 5.4
EPSS 0.0015
EPSS Percentile 5.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (2)
langflow/langflow
langflow-ai/langflow
Published Mar 27, 2026
Tracked Since Mar 29, 2026