Skip to content
Heist/ feed
Back to feed
Medium

GHSL-2023-245: Flowise xss in api/v1/chatflows/id

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-36422
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 00:59 UTC · Revision 1

Source evidence

GHSL-2023-245: Flowise xss in api/v1/chatflows/id

core-osv · Original source

Published 1 Jul 2024, 16:02 UTC

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.

osv:CVE-2024-36422
Complete source record
{
  "id": "bb80f55917be29a232be37163aec6b1395c6ec425d69f9a647d768a7646f55b2",
  "url": "https://osv.dev/vulnerability/CVE-2024-36422",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "GHSL-2023-245: Flowise xss in api/v1/chatflows/id",
    "summary": "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.",
    "evidence": "osv:CVE-2024-36422",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-36422",
      "aliases": [
        "CVE-2024-36422",
        "GHSA-2jch-qc96-9f5g"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/flowiseai/flowise",
              "type": "GIT",
              "events": [
                {
                  "introduced": "19e9c67d12190e80869a6ca338fb2082430614fd"
                },
                {
                  "last_affected": "19e9c67d12190e80869a6ca338fb2082430614fd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.4.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:flowiseai:flowise:1.4.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.3"
                      },
                      {
                        "last_affected": "1.4.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.4.3",
            "flowise@1.4.3",
            "flowise-ui@1.4.1",
            "flowise-components@1.4.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36422.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.598475225Z",
      "provider": "osv",
      "references": [
        "https://github.com/FlowiseAI/Flowise/blob/flowise-ui%401.4.0/packages/server/src/index.ts#L312-L312",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36422.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-36422",
        "https://securitylab.github.com/advisories/GHSL-2023-232_GHSL-2023-234_Flowise/"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36422.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-36422",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513670,
  "published_at": "2024-07-01T16:02:31.6+00:00"
}