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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
langflow-ai langflow
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Langflow是Langflow开源的一个用于构建多代理和 RAG 应用程序的可视化框架。 Langflow存在安全漏洞,该漏洞源于端点/api/v1/files/images/{flow_id}/{file_name}在提供SVG文件时未清理内容,可能导致存储型跨站脚本,攻击者可上传恶意SVG文件在其他用户查看时执行任意JavaScript,窃取身份验证令牌。

AI Predicted 8.2 Difficulty: Easy EPSS 0.27% · P17
Get alerts for future matching vulnerabilities Log 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: CVE Program / CVE List V5
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: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
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

Vendor Product Affected Versions CPE Subscribe
langflow-ai langflow 0 -

II. Public POCs for CVE-2026-5026

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-5026

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-5026 (1)

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

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-5026

No comments yet


Leave a comment