PoC Monitor
← All CVEs
CVE-2026-5026published 27 Mar 2026 14:50 UTCData: JSON · API

Langflow

Langflow - Stored XSS via Malicious SVG Upload

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.0high · scored by CNA · CWE-79
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

langflow-ai langflow
  • 0

Mitigation

The record names no fix. Check the vendor advisory below.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published27 Mar 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.