CVE-2024-37146: Flowise Cross-site Scripting in/api/v1/credentials/id
Flowise 1.4.3 has a reflected XSS in `GET /api/v1/credentials/:id`, tracked by GitHub Security Lab as GHSL-2023-248. A crafted URL runs attacker script in the victim's browser on the Flowise origin. The advisory lists no patched `flowise` version, so all releases up to 1.4.3 are marked vulnerable.
Published Aug 5, 2024 · Analysis Nov 1, 2026
What an attacker can do
The credentials route manages the stored API keys and connection secrets that flows use to reach model providers and databases. The bug is a fourth case of one pattern, found with CodeQL: the handler writes the request ID into a text/html 404 response without encoding it. Script in the path therefore runs when the victim opens the link.
The XSS itself does not return stored secrets. Still, the script runs on the same origin as the Flowise admin UI, which is where credentials are managed. With the default unauthenticated setup the script can call the same unauthenticated API as the page does, show false dialogs or redirect the user. The advisory also says this can be chained with the path injection in /api/v1/openai-assistants-file so an outsider can read server files. It notes the POST, PUT and DELETE counterparts of the route may become exploitable later.
Who is affected
Flowise 1.4.3 was tested. The data marks the npm package flowise <= 1.4.3 as vulnerable. Servers that run without authentication, the default, are the easy targets. Check the installed version:
npm ls flowiseFor Docker, read the image tag. Newer releases were not checked by the sources.
flowise
- Ecosystem
- npm
- Affected
- <= 1.4.3
- Fixed in
- No patched version yet
- Check
npm ls flowise
How to fix it
No patched version is listed. According to GitHub Security Lab, the maintainers acknowledged the reports in December 2023, cited limited resources and did not reply again. The researchers advise removing every place where request data goes into a response unsanitized.
Pending a vendor fix, enable authentication on Flowise, keep it off the public internet and have the proxy reject /api/v1/credentials/ paths whose last segment is not a UUID. These steps are the operator's own, not from the vendor. Watch the Flowise releases.
How to tell if you were hit
Search access logs for GET requests under /api/v1/credentials/ that have <, %3C, script or onerror in the last path segment and return 404. Review who clicked links to your Flowise host, and check whether credentials in the UI were changed or created unexpectedly. Also look for .. in the fileName body sent to /api/v1/openai-assistants-file.
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/credentials/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-37146 expose my stored credentials?
Not by itself. It is an XSS in a 404 page. But script on the Flowise origin can act as the user in the UI, so rotate credentials if you think a link was abused.
- Do the POST, PUT and DELETE routes also have this flaw?
The advisory says those counterparts may be exploitable in the future. Only the GET handler is called immediately exploitable.
- Is there a fix for CVE-2024-37146?
The advisory data lists no patched version of
flowise. Mitigate with authentication and network limits until a release appears.
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
