Medium severity · published Mar 20, 2025
CVE-2024-6844
Inconsistent CORS Matching Due to Handling of '+' in URL Path in corydolphin/flask-cors
5.3
CVSS
0.3%
EPSS
No
On KEV
Description
A vulnerability in corydolphin/flask-cors version 4.0.1 allows for inconsistent CORS matching due to the handling of the '+' character in URL paths. The request.path is passed through the unquote_plus function, which converts the '+' character to a space ' '. This behavior leads to incorrect path normalization, causing potential mismatches in CORS configuration. As a result, endpoints may not be matched correctly to their CORS settings, leading to unexpected CORS policy application. This can cause unauthorized cross-origin access or block valid requests, creating security vulnerabilities and usability issues.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 25% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
corydolphin/flask-cors · corydolphin
through latest · source: vendor
FL
Flask-cors · Flask-cors Project
4.0.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-6844
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-6844
Exploit
https://huntr.com/bounties/731a6cd4-d05f-4fe6-8f5b-fe088d7b34e0
lists.debian.org
https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html
More from corydolphin/flask-cors
7.5
CVE-2024-6866
Case-Insensitive Path Matching in corydolphin/flask-cors
5.3
CVE-2024-6839
Improper Regex Path Matching in corydolphin/flask-cors
