Skip to main content

Flowise CVE-2025-71331

| EUVDEUVD-2025-210289 MEDIUM
Basic XSS (CWE-80)
2026-06-20 VulnCheck GHSA-jv86-v5fr-xvg6
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker submits iframe javascript: payload in chat
  2. Delivery
    Victim opens chat conversation in browser
  3. Exploit
    Browser renders unsanitized HTML from message
  4. Execution
    javascript: URI executes in victim's authenticated session
  5. Impact
    Session cookie exfiltrated to attacker-controlled endpoint

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTML tag escaping
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The primary attack vector (direct chat message injection) requires no authentication and no special platform configuration - any actor with network access to the Flowise chat interface can submit the payload without an account (CVSS PR:N, AV:N). Exploitation is gated solely by the requirement that a victim actively open and view the chat in a browser (CVSS UI:A); passive background loading is not sufficient. The secondary attack vector (custom agent function returning external XSS content) requires the attacker to have sufficient platform permissions to create Agentflows and custom functions, and additionally requires control over an external web server that the agent fetches. What limits exploitation: the UI:A requirement means fully automated, server-side exploitation is not possible - a human victim must trigger rendering. Instances deployed with authentication required for chat access narrow the no-auth attack surface significantly. The secondary path is further limited by the need for Agentflow creation privileges and external server control.

Impact

The CVSS 4.0 score of 5.1 (Medium) is anchored primarily by the UI:A constraint - a victim must actively view the infected chat or agent output - which reduces opportunistic, fully automated exploitation. However, in Flowise's operational context as an AI workflow management platform, chat interfaces and agent outputs are routinely reviewed by operators and administrators, making UI:A a realistic rather than prohibitive barrier. The PR:N metric confirms the primary chat injection vector requires no authentication whatsoever. The secondary agent function vector implies at least contributor-level platform access. No EPSS data was provided in the intelligence inputs, so probabilistic exploitation likelihood cannot be quantified. No CISA KEV listing is present, confirming no verified mass exploitation at time of analysis. A public PoC exists in the official GitHub Security Advisory, meaningfully lowering the skill threshold for exploitation. The confidentiality and integrity impact is scoped to the subsequent system (victim's browser session - SC:L/SI:L), but Flowise sessions may carry API keys, workflow credentials, or elevated platform permissions, potentially making the real-world impact exceed the base score. The two attack vectors should be assessed separately: the direct chat injection is a low-effort, no-auth attack; the agent function path requires more setup but could weaponize legitimate platform functionality as a persistence or lateral movement mechanism.

Exploit ScenarioDerived

An unauthenticated attacker submits the payload <iframe src="javascript:alert(document.cookie);"> as a chat message to a publicly exposed Flowise instance. When an operator or administrator opens the chat conversation in their browser to review it, the iframe executes the embedded JavaScript in their authenticated session, silently exfiltrating their session cookie to an attacker-controlled server. The exact payload is confirmed as a working PoC in the public GHSA advisory, requiring no custom tooling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 22, 2026

Cross-site scripting in Flowise before 3.0.8 allows unauthenticated network attackers to inject malicious JavaScript into the chat interface via iframe javascript: URI payloads, or indirectly via custom agent functions that fetch and render unsanitized external HTTP responses. When a victim browses the affected chat or agent output in their browser, the injected script executes in their session, enabling cookie theft and session hijacking. A working proof-of-concept payload is publicly documented in GitHub Security Advisory GHSA-4fr9-3x69-36wv; no active exploitation is confirmed in CISA KEV at time of analysis.

RemediationAI

Upgrade Flowise to version 3.0.8 or later, the vendor-released patch confirmed by GHSA-4fr9-3x69-36wv and corroborated by EUVD and VulnCheck. Install via npm with 'npm install flowise@3.0.8' or equivalent. If immediate patching is blocked, restrict access to the Flowise chat interface and Agentflow creation capabilities to authenticated, trusted users only - this reduces but does not eliminate the attack surface, as authenticated users could still inject payloads targeting other users. As an additional defense-in-depth measure, deploy a Content Security Policy (CSP) header that sets 'script-src' to disallow inline scripts and blocks javascript: URI schemes; this would neutralize the specific iframe javascript: PoC payload but is not a substitute for patching and may break legitimate Flowise functionality requiring testing. The vendor advisory is at https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-4fr9-3x69-36wv.

Affected VersionsENISA

Flowise 0 <3.0.8

Affected Packages

npm flowise fix: 3.0.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Flowise is an open-source, Node.js/npm-based visual AI workflow builder distributed under cpe:2.3:a:flowise:flowise:*:*:*:*:*:*:*:*. The root cause is CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page): the application fails to sanitize HTML and JavaScript before rendering it in the browser, allowing javascript: URI schemes and arbitrary HTML tags to execute as code. Two distinct injection surfaces exist: the chat interface directly renders unsanitized user-submitted messages, and the Agentflow custom function pipeline fetches external URLs via node-fetch and returns their raw text content to the renderer without sanitization - creating a second-order XSS path where attacker-controlled external web servers can deliver payloads through trusted agent execution.

Know when Flowise 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

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 6.1 MEDIUM

PR:N because chat submission requires no account; UI:R because a human victim must view the chat; S:C because injected script executes in the victim's distinct browser security context.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 20, 2026 - 17:16 EUVD

DescriptionCVE.org

Flowise before 3.0.8 contains a cross-site scripting (XSS) vulnerability caused by insufficient input filtering in chat messages and custom agent functions. An attacker can inject malicious JavaScript by sending an iframe payload (e.g., <iframe src="javascript:alert(document.cookie)">) in a chat box, or by having a custom agent function return an XSS payload from an external website. The injected script executes in the victim's browser, enabling theft of cookies and session data.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2025-8943 CRITICAL POC
9.8 Aug 14

Flowise versions before 3.0.1 allow unauthenticated access to the Custom MCPs feature, which is designed to execute OS c

CVE-2025-26319 CRITICAL POC
9.8 Mar 04

FlowiseAI Flowise version 2.2.6 contains an arbitrary file upload vulnerability in the /api/v1/attachments endpoint. Una

CVE-2025-61913 CRITICAL POC
9.9 Oct 08

Arbitrary file read and write in Flowise versions prior to 3.0.8 allows an authenticated attacker with access to the flo

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2025-58434 CRITICAL POC
9.8 Sep 12

Flowise is a drag & drop user interface to build a customized large language model flow. Rated critical severity (CVSS 9

CVE-2025-61687 HIGH POC
8.8 Oct 06

Authenticated users can upload arbitrary files to Flowise 3.0.7 due to missing validation, enabling persistent storage o

CVE-2026-30821 CRITICAL POC
9.8 Mar 07

Unrestricted file upload in Flowise LLM workflow builder before 3.0.13 via /api/v1/attachments endpoint allows unauthent

CVE-2026-30824 CRITICAL POC
9.8 Mar 07

Missing authentication on NVD data endpoint in Flowise before 3.0.13 allows unauthenticated access to internal vulnerabi

CVE-2025-34267 HIGH POC
8.4 Oct 14

Authenticated remote code execution in FlowiseAI Flowise (v3.0.1 up to but not including 3.0.8, and later versions when

CVE-2026-70470 CRITICAL POC
9.5 Aug 04

Remote code execution in Flowise before 3.1.3 arises because its Pyodide Python-code validator (validatePythonCodeForDat

CVE-2026-69264 CRITICAL POC
9.4 Aug 04

Remote code execution in FlowiseAI Flowise before 3.1.3 lets an attacker execute arbitrary OS commands as the Flowise pr

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy