Vulnerability

CVE-2026-5026

highCVSS 4.0 7.0Published 27 Mar 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

From the NVD's configuration data (CPE), vendor first.

  • Langflow langflow

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning