GHSA-pj96-4jhv-v792

    Dashboard / Vulnerabilities / GHSA-pj96-4jhv-v792

    GHSA-pj96-4jhv-v792

    Published: 2 Jun 2022Last Modified: 21 Aug 2024
    Aliases:

    Summary: Cross site scripting via cookies in gogs

    Details: ### Impact There is no known practical impact other than it is just possible to manipulate CSRF cookie and XSS the malicious user self. ### Patches Invalid characters of CSRF tokens are stripped after reading cookie. Users should upgrade to 0.12.8 or the latest 0.13.0+dev. ### Workarounds No need for workarounds. ### References N/A ### For more information If you have any questions or comments about this advisory, please post on https://github.com/gogs/gogs/issues/6953.

    Affected packages

    Package

    Name: gogs.io/gogs

    Purl: pkg:golang/gogs.io/gogs

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.12.8

    Affected versions

    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-pj96-4jhv-v792 | CVE-DB