Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Webargs Project | Webargs | >= 5.0.0, <= 5.5.2 |
Related Weaknesses (CWE)
References
- https://webargs.readthedocs.io/en/latest/changelog.htmlRelease NotesVendor Advisory
- https://webargs.readthedocs.io/en/latest/changelog.htmlRelease NotesVendor Advisory
FAQ
What is CVE-2020-7965?
CVE-2020-7965 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 c...
How severe is CVE-2020-7965?
CVE-2020-7965 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-7965?
Check the references section above for vendor advisories and patch information. Affected products include: Webargs Project Webargs.