ADVISORIES

Vulnerability

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.

2 advisories report this vulnerability, across 1 ecosystem.

High severity PyPI 2

Advisories in PyPI

  • GHSA-fjq3-5pxw-4wj4

    Cross-Site Request Forgery in Webargs

    High CVE-2020-7965 PyPI Updated 19 November 2024
  • PYSEC-2020-156

    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…

    CVE-2020-7965 PyPI Updated 8 November 2023

References