CVE-2024-9148: Flowise and Flowise Chat Embed vulnerable to Stored Cross-site Scripting
The Flowise Chat Embed library before 2.0.0 does not sanitize chat input, so a stranger who chats with an embedded chatbot can store a script that later runs in the Flowise admin panel. Flowise before 2.1.1 is affected. Upgrade flowise to 2.1.1 and flowise-embed to 2.0.0.
Published Sep 25, 2024 · Updated Sep 30, 2024 · Analysis Nov 10, 2026
What an attacker can do
Tenable, who found it, describes the chain. An unauthenticated user starts a conversation with a chatbot embedded on a website. The embed library filters on* event-handler attributes, but a payload without one still works, for example an iframe with a javascript: source. The message is stored, and when an administrator views the conversation in the Flowise panel, the script runs there.
The attacker needs no account, only the public chatbot, and the administrator must open the stored chat, which is the user-interaction part. Tenable rates it critical (CVSS 3.1 9.6) with a changed scope, because the script runs in the administrative context. In practice the attacker can act as the admin: read chatflows, API keys and credentials stored in Flowise, and change flows. Flowise admins reading conversations is a routine task, so the trigger is easy to cause.
Who is affected
flowise below 2.1.1 and flowise-embed below 2.0.0. Check:
npm ls flowise flowise-embedAlso check the embed script on your websites, since the embedded copy may be a CDN or pinned version of flowise-embed.
flowise-embed
- Ecosystem
- npm
- Affected
- < 2.0.0
- Fixed in
- 2.0.0
- Check
npm ls flowise-embed
flowise
- Ecosystem
- npm
- Affected
- < 2.1.1
- Fixed in
- 2.1.1
- Check
npm ls flowise
How to fix it
Upgrade flowise to 2.1.1 or later and flowise-embed to 2.0.0 or later. If you only use the embed library, version 2.0.0 is the fix for that part. Tenable lists no workaround. After upgrading, review stored chat messages for script or iframe markup, and rotate credentials that an admin session could have exposed.
How to tell if you were hit
Search stored chat messages in Flowise for iframe, script, javascript: and similar HTML from anonymous users. Check admin session activity for unexpected changes to chatflows or credentials, and look at web logs for requests to unknown hosts from the admin panel.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Flowise < 2.1.1 suffers from a Stored Cross-Site vulnerability due to a lack of input sanitization in Flowise Chat Embed < 2.0.0.
Questions
- Who can exploit CVE-2024-9148?
Any visitor who can chat with an embedded Flowise chatbot. No account is needed.
- Where does the script run?
In the Flowise administration panel, when an admin views the stored conversation.
- Which versions fix it?
flowise 2.1.1 and flowise-embed 2.0.0. If you only use the embed library, 2.0.0 is the fix for it.
References
Read for this analysis:
- https://www.tenable.com/security/research/tra-2024-40
- https://github.com/FlowiseAI/Flowise/releases/tag/flowise%402.1.1
- https://nvd.nist.gov/vuln/detail/CVE-2024-9148
- https://github.com/FlowiseAI/Flowise/commit/8375ebb4ec1ebb2b1295561cc0f63486a29f3fde
- https://github.com/FlowiseAI/FlowiseChatEmbed/commit/6a9645df41371cb69f251038d501ec87b1304c84
- https://github.com/FlowiseAI/FlowiseChatEmbed/releases/tag/flowise-embed%402.0.0
- https://github.com/advisories/GHSA-m5p9-xvxj-64c8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Flowise vulnerabilities
All Flowise entriesCVE-2026-73483
Flowise NodeVM sandbox escape via puppeteer allowlist - authenticated RCE and arbitrary file read via Chromium
critical9.4Oct 7, 2026CVE-2026-73487
Flowise Prompt Injection to RCE and SSRF via CSV/Airtable Agent Python Validator Bypass
critical9.0Oct 7, 2026CVE-2026-69250
Flowise: Unauthenticated OAuth2 Refresh Enables Non-Blind SSRF and Secret Exfiltration
high8.5Aug 4, 2026CVE-2026-69251
Flowise RCE via TypeORM DataSource
critical9.0Aug 4, 2026CVE-2026-69252
Flowise: Missing authorization on `/api/v1/files` allows low-privileged API keys to list and delete files across workspaces within the same organization
high7.2Aug 4, 2026CVE-2026-69253
Flowise Sandbox Escape to RCE
critical9.0Aug 4, 2026
