Back to search
CVE-2020-7965
Published: Jan 29, 2020
Modified: Aug 4, 2024
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
n/a | n/a | affected n/a |
References
https://webargs.readthedocs.io/en/latest/changelog.html
x_refsource_CONFIRM
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now