CVE-2024-36422: Flowise Cross-site Scripting in api/v1/chatflows/id
Flowise 1.4.3 has a reflected cross-site scripting flaw in `GET /api/v1/chatflows/:id`. When a chatflow id is not found, the id is echoed into a text/html 404 page. A crafted link runs the attacker's JavaScript in the victim's session. The advisory lists no patched version. The default setup is unauthenticated.
Published Aug 5, 2024 · Analysis Nov 17, 2026
What an attacker can do
The handler for /api/v1/chatflows/:id returns a 404 when the chatflow does not exist. It interpolates the requested id into that response, and the response is HTML. Anything an attacker puts in the id is rendered as markup. A victim who opens a crafted URL runs the attacker's script in the Flowise origin.
Flowise needs no login in its default configuration, so the attacker needs nothing but a link and a victim who clicks it. From the script they can read data the victim can reach, show false popups or redirect the victim.
GitHub Security Lab, which found the issue, notes that this XSS can be chained with a path injection in /api/v1/openai-assistants-file. That endpoint builds a file path from an unsanitized fileName parameter. Chained, an attacker with no direct network access to Flowise can read arbitrary files from the server through a victim's browser. Those files may hold API keys for the model providers.
Who is affected
The advisory names Flowise 1.4.3 (npm flowise <= 1.4.3). GitHub Security Lab tested 1.4.3 and states no full range. Check your version:
npm ls flowiseFor Docker or a global install, use flowise --version or check the image tag. Instances running with the default unauthenticated setup, or reachable from a browser used by staff, are most exposed.
flowise
- Ecosystem
- npm
- Affected
- <= 1.4.3
- Fixed in
- No patched version yet
- Check
npm ls flowise
How to fix it
The advisory data lists no patched version, and the sources describe no released fix. GitHub Security Lab says the maintainers cited limited resources and did not reply. Check the Flowise releases for a newer version, and upgrade to the latest.
The researcher's advice for developers is to stop passing data from req to res without sanitization. That includes the res.status(404).send(...) pattern with req.params.id. It also applies to the POST, PUT and DELETE counterparts, which may be exploitable too.
Until then, enable authentication on Flowise, and do not expose it to untrusted networks. The sources give no further workaround.
How to tell if you were hit
Look in access logs for requests to /api/v1/chatflows/ where the id has angle brackets, script, onerror or URL-encoded equivalents such as %3Cscript. Check for 404 responses on those paths. Also check for requests to /api/v1/openai-assistants-file with a fileName that contains ../ or an absolute path, since that is the chained step. The advisory gives no other indicators.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Flowise is a drag & drop user interface to build a customized large language model flow. In version 1.4.3 of Flowise, a reflected cross-site scripting vulnerability occurs in the api/v1/chatflows/id endpoint. If the default configuration is used (unauthenticated), an attacker may be able to craft a specially crafted URL that injects Javascript into the user sessions, allowing the attacker to steal information, create false popups, or even redirect the user to other websites without interaction. If the chatflow ID is not found, its value is reflected in the 404 page, which has type text/html. This allows an attacker to attach arbitrary scripts to the page, allowing an attacker to steal sensitive information. This XSS may be chained with the path injection to allow an attacker without direct access to Flowise to read arbitrary files from the Flowise server. As of time of publication, no known patches are available.
Questions
- Does CVE-2024-36422 need a login?
Not in the default setup. The description says the default configuration is unauthenticated. The victim must still open the crafted link, so the CVSS vector sets user interaction as required.
- Is there a patched Flowise version?
None is listed. The advisory covers
flowise <= 1.4.3. Check the Flowise releases for a newer version and enable authentication.- Can this XSS read server files?
Only when chained with the path injection in
/api/v1/openai-assistants-file. Together they let an attacker without direct access read files from the Flowise server.
References
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
