PT-2026-28740 · Langflow+1 · Langflow

CVE-2026-5026

·

Published

2026-03-27

·

Updated

2026-03-27

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

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-5026

Affected Products

Langflow