PT-2026-28740 · Langflow+1 · Langflow

Published

2026-03-27

·

Updated

2026-03-27

·

CVE-2026-5026

CVSS v4.0

7.0

High

VectorAV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
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.

Fix

XSS

Weakness Enumeration

Related Identifiers

CVE-2026-5026

Affected Products

Langflow