{"cve":"CVE-2020-7965","nvd":{"published":"2020-01-29T15:15:11.070","modified":"2026-06-17T03:25:42.583","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-352"],"references":["https://webargs.readthedocs.io/en/latest/changelog.html","https://webargs.readthedocs.io/en/latest/changelog.html"],"products":["webargs_project:webargs"],"source":"nvd","synced_at":"2026-10-19T21:01:01.339895972+00:00"},"epss":{"cve":"CVE-2020-7965","score":0.00606,"percentile":0.49022,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fjq3-5pxw-4wj4","url":"https://osv.dev/vulnerability/GHSA-fjq3-5pxw-4wj4","summary":"Cross-Site Request Forgery in Webargs","modified":"2024-11-19T15:50:22.620318Z","packages":[{"ecosystem":"PyPI","name":"webargs","purl":"pkg:pypi/webargs","ranges":[">=5.0.0 <5.5.3"],"fixed":["5.5.3"]},{"ecosystem":"PyPI","name":"webargs","purl":"pkg:pypi/webargs","ranges":[">=6.0.0b1 <6.0.0b4"],"fixed":["6.0.0b4"]}]},{"id":"PYSEC-2020-156","url":"https://osv.dev/vulnerability/PYSEC-2020-156","summary":"","modified":"2023-11-08T04:04:12.236992Z","packages":[{"ecosystem":"PyPI","name":"webargs","purl":"pkg:pypi/webargs","ranges":[">=5.0.0 <5.5.3"],"fixed":["5.5.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}