Skip to content

huntr

corydolphin/flask-cors

Every publicly disclosed report for corydolphin/flask-cors and what kind of bugs they were.

disclosed reports
5
most reported class
CORS
bug classes found
2
first disclosure
2024
Find corydolphin/flask-cors on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what corydolphin/flask-cors chose to make public.

CORS

Flask-CORS vulnerable to Improper Handling of Case Sensitivity

Flask-CORS uses a case-insensitive regex match for request paths, so paths that should be restricted are treated as matching allowed paths regardless of case. An attacker could use an unauthorised origin to access restricted paths, leading to data exposure.

corydolphin/flask-cors

Medium
CORS

Flask-CORS improper regex path matching vulnerability

Flask-CORS version 5.0.1 prioritises longer regex patterns over more specific ones when matching paths, so a less restrictive CORS policy may be applied to sensitive endpoints. An attacker could then make unauthorised cross-origin requests to those endpoints, potentially accessing confidential data or functionality.

corydolphin/flask-cors

Medium
CORS

Flask-CORS allows for inconsistent CORS matching

Flask-CORS normalises request paths with unquote_plus, which turns '+' into a space, so CORS rules can be matched against the wrong path. This can let a request from an untrusted origin be treated as allowed, or block a legitimate one.

corydolphin/flask-cors

Medium
Misconfiguration

flask-cors vulnerable to log injection when the log level is set to debug

The flask-cors library fails to neutralise newline characters in request paths when logging at debug level, allowing an attacker to inject fake log entries. This can corrupt log files, hide other attacks, and mislead log processing tools.

corydolphin/flask-cors

Medium