CVE-2024-37146: GHSL-2023-232_GHSL-2023-234: Path injection, Cross-Site Scripting (XSS) and CORS misconfiguration in Flowise - CVE-2024-36420, CVE-2024-36421, CVE-2024-36422, CVE-2024-36423, CVE-2024-37145, CVE-2024-37146
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.
Other sources
Flowise is vulnerable to path injection, cross site scripting and CORS misconfiguration vulnerabilities, that may compromise the confidentiality of the information on the host server. In the worst case, it may allow attackers to read files from the Flowise server and read/modify user secrets.
— GitHub Security Lab
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-37146?
CVE-2024-37146 is classified as a critical vulnerability due to its potential impact on user security.
How do I fix CVE-2024-37146?
To fix CVE-2024-37146, upgrade Flowise to version beyond 1.4.3 or apply the recommended security patches provided by the vendor.
What systems are affected by CVE-2024-37146?
CVE-2024-37146 affects version 1.4.3 and earlier of the Flowise package.
What type of vulnerability is CVE-2024-37146?
CVE-2024-37146 is a reflected cross-site scripting (XSS) vulnerability.
Can CVE-2024-37146 be exploited remotely?
Yes, CVE-2024-37146 can be exploited remotely if the default unauthenticated configuration is in use.