{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-6844","id":"CVE-2024-6844","title":"Inconsistent CORS Matching Due to Handling of '+' in URL Path in corydolphin/flask-cors","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 m","descriptionLong":"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.","published":"2025-03-20T10:10:51.818Z","updated":"2026-10-28T02:31:13.435356402Z","reserved":"2024-07-17T18:28:09.292Z","status":"Modified","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"@huntr_ai"},"metrics":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"@huntr_ai"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"huntr.dev"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["corydolphin/flask-cors"],"affectedProducts":[{"vendor":"corydolphin","product":"corydolphin/flask-cors","defaultStatus":null,"versions":[{"version":"unspecified","status":"affected","versionType":"custom","lessThanOrEqual":"latest"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"flask-cors","purl":"pkg:pypi/flask-cors","ranges":["<6.0.0"],"fixed":["6.0.0"],"advisory":"GHSA-8vgw-p6qm-5gr7"}],"cwes":["CWE-346"],"aliases":["GHSA-8vgw-p6qm-5gr7","PYSEC-2026-1385"],"references":[{"url":"https://huntr.com/bounties/731a6cd4-d05f-4fe6-8f5b-fe088d7b34e0","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6844.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6844","tags":["advisory"]},{"url":"https://github.com/corydolphin/flask-cors/commit/35d875319621bd129a38b2b823abf4a2f6cda536","tags":["web"]},{"url":"https://github.com/corydolphin/flask-cors","tags":["package"]},{"url":"https://github.com/corydolphin/flask-cors/blob/main/flask_cors/extension.py#L193","tags":["web"]},{"url":"https://pypi.org/project/flask-cors","tags":["package"]},{"url":"https://github.com/advisories/GHSA-8vgw-p6qm-5gr7","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00319,"epssPercentile":0.25347,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-6844","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6844","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-6844","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8vgw-p6qm-5gr7","ok":true,"note":"GHSA-8vgw-p6qm-5gr7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-6844","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["flask"],"critical":[],"attention":null}