CVE-2024-36422
JavaScript vulnerability analysis and mitigation

Overview

CVE-2024-36422 is a Cross-Site Scripting (XSS) vulnerability in Flowise v1.4.3. 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 (GitHub Security Lab).

Technical details

The vulnerability exists in many of the API endpoints in index.ts. When a 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. The vulnerability is found in multiple endpoints including api/v1/chatflows/id, /api/v1/public-chatflows/id, /api/v1/chatflows-streaming/id, and /api/v1/credentials/id (GitHub Security Lab).

Impact

This vulnerability may lead to information disclosure, allowing attackers to steal sensitive information. When chained with path injection vulnerabilities, it could allow attackers without direct access to Flowise to read arbitrary files from the Flowise server (GitHub Security Lab).

Mitigation and workarounds

It is recommended to remove all cases where data provided from the req parameter is passed to the res without sanitization. For example, avoid using unsanitized data in responses like res.status(404).send(Chatflow ${req.params.id} not found) (GitHub Security Lab).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react-server-dom-webpack
NoYesDec 03, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management