CVE-2020-7965: Webargs Project Webargs

High severity, CVSS 8.8. EPSS: 0.6% chance of exploitation in the next 30 days.

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

Published 2020-01-29. Last modified 2026-06-17.