# CVE-2026-5026: Langflow - Stored XSS via Malicious SVG Upload

- Severity: High 7.0 (CVSS:4.0, scored by tenable) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 17% of CVEs (2026-11-30)
- Published: 2026-03-27T14:50:36.603Z
- Modified: 2026-06-17T10:58:17.867Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- langflow-ai langflow: 0
- langflow langflow: no versions given

## Every score

- tenable: CVSS:4.0 7.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.tenable.com/security/research/tra-2026-25> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-5026](https://www.cve.org/CVERecord?id=CVE-2026-5026), CVE Terms of Use, modified 2026-03-27
- NVD: [CVE-2026-5026](https://nvd.nist.gov/vuln/detail/CVE-2026-5026), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-5026 · Whole record: https://cve.day/CVE-2026-5026.json · Rebuilt by cve.day 2026-11-25T22:59:17.399Z
