CVE-2020-7965 Information
Description
flaskparser.py in Webargs 5.x through 5.5.2 doesn’t check that the Content-Type header is application/json when receiving JSON input. If the request body is valid JSON it will accept it even if the content type is application/x-www-form-urlencoded. This allows for JSON POST requests to be made across domains leading to CSRF.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Reference
https://webargs.readthedocs.io/en/latest/changelog.html flaskparser.py in Webargs 5.x through 5.5.2 doesn’t check that the Content-Type header is application/json when receiving JSON input. If the request body is valid JSON it will accept it even if the content type is application/x-www-form-urlencoded. This allows for JSON POST requests to be made across domains leading to CSRF.
Attack Complexity
LOW
Privileges Required
NONE
User Interaction Required
NONE
Scope
REQUIRED
Confidentiality Impact
UNCHANGED
Integrity Impact
HIGH
Availability Impact
HIGH
Base Score
HIGH
Base Severity
8.8
Share on: