{"cve":"CVE-2024-6844","nvd":{"published":"2025-03-20T10:15:34.120","modified":"2026-06-17T08:18:49.283","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-346"],"references":["https://huntr.com/bounties/731a6cd4-d05f-4fe6-8f5b-fe088d7b34e0","https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html"],"products":["flask-cors_project:flask-cors"],"source":"nvd","synced_at":"2026-10-19T22:00:17.429720821+00:00"},"epss":{"cve":"CVE-2024-6844","score":0.00319,"percentile":0.24949,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8vgw-p6qm-5gr7","url":"https://osv.dev/vulnerability/GHSA-8vgw-p6qm-5gr7","summary":"Flask-CORS allows for inconsistent CORS matching","modified":"2026-09-10T03:50:23.027959228Z","packages":[{"ecosystem":"PyPI","name":"flask-cors","purl":"pkg:pypi/flask-cors","ranges":["<6.0.0"],"fixed":["6.0.0"]}]},{"id":"PYSEC-2026-1385","url":"https://osv.dev/vulnerability/PYSEC-2026-1385","summary":"Flask-CORS allows for inconsistent CORS matching","modified":"2026-07-07T17:47:38.862225771Z","packages":[{"ecosystem":"PyPI","name":"flask-cors","purl":"pkg:pypi/flask-cors","ranges":["<6.0.0"],"fixed":["6.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}