Security Digest · Vulnerability record
CVE-2025-50538: Flowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panel
Flowise before 3.0.5 allows XSS via an IFRAME element when an admin views the chat log.
CVSS 8.2 High EPSS 14.0% · p97
Should you act?
High exploit likelihood
EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.
- Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 14.0%, percentile 97: FIRST’s model estimates a 14.0% chance of exploitation activity in the next 30 days, higher than 97% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Needs a user to click or open something. Phishing makes that realistic, but it is not wormable.
- Only applies if your dependency tree includes
flowise(npm) < 3.0.8, fixed in 3.0.8. Check your lockfile, including transitive dependencies.
What it is
Flowise before 3.0.5 allows XSS via an IFRAME element when an admin views the chat log.
From the GitHub advisory
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 can include arbitrary JavaScript, which is executed when the message is rendered.
---
PoC 1. Deploy a FlowiseAI agent and make it accessible via browser (e.g., embed on a website). 2. Send the following payload via the agent's chat interface:
Weakness type: CWE-79.
Product: flowise (npm) · Assigned by: mitre · Published: 2025-10-06
Affected and fixed versions
| Ecosystem | Package | Vulnerable | First fixed |
|---|---|---|---|
| npm | flowise | < 3.0.8 | 3.0.8 |
| Vendor | Product | Affected versions (per CVE record) |
|---|---|---|
| FlowiseAI | Flowise | < 3.0.5 |
Severity scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| mitre | 3.1 | 8.2 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| GitHub | 3.1 | 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
- Attack vector: network (remotely reachable)
- Attack complexity: low
- Privileges required: none (no login)
- User interaction: required (a user must click/open something)
- Scope: changed (can affect other components)
CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.
Exploitation and urgency
- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc, automatable no, technical impact partial.
- FIRST EPSS (model of 2026-10-21): 14.04% probability of exploitation activity in the next 30 days; percentile 97.
Timeline
- — GitHub-reviewed advisory GHSA-964p-j4gg-mhwc published (critical)
- — CVE record last updated
- — CVE record published by mitre
Sources and references
Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.
Vulnerability records
- GitHub Advisory GHSA-964p-j4gg-mhwc github.com
- CVE.org record CVE-2025-50538 cve.org
- NVD entry CVE-2025-50538 nvd.nist.gov
Other references from the CVE record and advisory
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com