CVE-2020-7965

    Dashboard / Vulnerabilities / CVE-2020-7965

    CVE-2020-7965

    Published: 29 Jan 2020Last Modified: 24 Oct 2026

    Summary:

    Details: 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 packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- cca430ebe55939a488ceda93a75bfe401228ecb5
    Fixed -None

    Affected versions

    5.5.2
    5.5.1
    5.5.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2020-7965 | CVE-DB