Flowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panel
Description
Published to the GitHub Advisory Database
Oct 3, 2025
Reviewed
Oct 3, 2025
Last updated
Oct 13, 2025
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
localStoragecontent to the attacker-controlled webhook endpoint.Impact
localStorageAffected Products
npmflowise< 2.2.71References