MEDIUM🇵🇱 Wersja polska

CVE-2024-6844

CVSS 5.3v3.0pub. 2025-03-20upd. 2025-11-03

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
  • Flask Cors Project Flask Cors

    APP
    Flask-Cors Project
    4.0.1
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2024-6866HIGH7.5ten sam produkt

corydolphin/flask-cors version 4.01 contains a vulnerability where the request path matching is case-insensiti...

CVE-2020-25032HIGH7.5ten sam produkt

An issue was discovered in Flask-CORS (aka CORS Middleware for Flask) before 3.0.9. It allows ../ directory tr...

CVE-2024-6839MEDIUM5.3ten sam produkt

corydolphin/flask-cors version 4.0.1 contains an improper regex path matching vulnerability. The plugin priori...