CSRF in Webargs Project
CVE-2020-7965
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.006 (47.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 47th percentile — 47.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
Weakness classification (CWE)
References
- webargs.readthedocs.io/en/latest/changelog.html (Release Notes, Vendor Advisory)
Frequently asked questions
- What is CVE-2020-7965?
- CVE-2020-7965 is a high-severity vulnerability in Webargs Project, classified under Cross-Site Request Forgery (CSRF). CVSS score: 8.8/10. Published 2020-01-29.
- How severe is CVE-2020-7965?
- High severity. CVSS v3 base score is 8.8 out of 10.