CVE-2024-36421: Flowise Cors Misconfiguration in packages/server/src/index.ts
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.16092%
CWE
Published
8/5/2024
Updated
8/5/2024
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
flowise | npm | <= 1.4.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The CORS misconfiguration vulnerability arises from the improper use of the cors
middleware in the index.ts
file. The middleware is used without configuring it to restrict origins, thus allowing all origins. This directly relates to the 'cors'
function or method being used in the code.