What’s Vulnerable › Vulnerabilities
CVE-2020-7965
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-01-29 · updated 2026-06-17
- Weakness: CWE-352
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.
Affected products
- Webargs Project Webargs: from 5.0.0 through 5.5.2
References
- https://webargs.readthedocs.io/en/latest/changelog.html
- https://webargs.readthedocs.io/en/latest/changelog.html
Get alerted when CVE-2020-7965 or the next vulnerability affects your stack