Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-5026— Langflow - Stored XSS via Malicious SVG Upload

EPSS 0.05% · P15
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-5026

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Langflow - Stored XSS via Malicious SVG Upload
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Langflow 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Langflow是Langflow开源的一个用于构建多代理和 RAG 应用程序的可视化框架。 Langflow存在安全漏洞,该漏洞源于端点/api/v1/files/images/{flow_id}/{file_name}在提供SVG文件时未清理内容,可能导致存储型跨站脚本,攻击者可上传恶意SVG文件在其他用户查看时执行任意JavaScript,窃取身份验证令牌。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
langflow-ailangflow 0 -

II. Public POCs for CVE-2026-5026

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-5026

登录查看更多情报信息。

Same Patch Batch · langflow-ai · 2026-03-27 · 6 CVEs total

CVE-2026-50278.8 HIGHLangflow - Path Traversal Arbitrary File Write via upload_user_file
CVE-2026-50256.5 MEDIUMLangflow - Application Logs Exposed to All Authenticated Users
CVE-2026-5022Langflow - Missing Authorization on download_image Endpoint
CVE-2026-34046Langflow: Authenticated Users Can Read, Modify, and Delete Any Flow via Missing Ownership
CVE-2026-33873Langflow has Authenticated Code Execution in Agentic Assistant Validation

IV. Related Vulnerabilities

V. Comments for CVE-2026-5026

No comments yet


Leave a comment