{"id":"CVE-2024-6844","summary":"Inconsistent CORS Matching Due to Handling of '+' in URL Path in corydolphin/flask-cors","details":"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.","aliases":["GHSA-8vgw-p6qm-5gr7","PYSEC-2026-1385"],"modified":"2026-08-12T03:51:14.076682109Z","published":"2025-03-20T10:10:51.818Z","related":["CGA-q8vf-4j25-857w","openSUSE-SU-2026:10485-1"],"database_specific":{"cwe_ids":["CWE-346"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6844.json","cna_assigner":"@huntr_ai"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/731a6cd4-d05f-4fe6-8f5b-fe088d7b34e0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6844.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6844"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/corydolphin/flask-cors","events":[{"introduced":"1df178ccc019c5aa7282246288c04f867d716790"},{"last_affected":"1df178ccc019c5aa7282246288c04f867d716790"}],"database_specific":{"cpe":"cpe:2.3:a:flask-cors_project:flask-cors:4.0.1:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.0.1"},{"last_affected":"4.0.1"}],"source":"CPE_STRING"}}],"versions":["4.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6844.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}