GHSA-hh7m-rx4f-4vpv

    Dashboard / Vulnerabilities / GHSA-hh7m-rx4f-4vpv

    GHSA-hh7m-rx4f-4vpv

    Published: 11 Jan 2021Last Modified: 13 Mar 2026

    Summary: CSRF can expose users authentication token

    Details: ### Issue The /login and /change endpoints can return the authenticated user's authentication token in response to a GET request. Since GET requests aren't protected with a CSRF token, this could lead to a malicious 3rd party site acquiring the authentication token. ### Patches Version 3.4.5 and soon to be released 4.0.0 are patched. ### Workarounds If you aren't using authentication tokens - you can set the SECURITY_TOKEN_MAX_AGE to "0" (seconds) which should make the token unusable. ### References None

    Affected packages

    Package

    Name: flask-security-too

    Purl: pkg:pypi/flask-security-too

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 3.3.0
    Fixed -3.4.5

    Affected versions

    3.3.0
    3.3.1
    3.3.2
    3.3.3

    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
    GHSA-hh7m-rx4f-4vpv | CVE-DB