GHSA-4r78-hx75-jjj2

    Dashboard / Vulnerabilities / GHSA-4r78-hx75-jjj2

    GHSA-4r78-hx75-jjj2

    Published: 13 May 2022Last Modified: 10 Sept 2026

    Summary: golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer

    Details: The html package (aka `x/net/html`) through 2018-09-25 in Go mishandles `<svg><template><desc><t><svg></template>`, leading to a `panic: runtime error` (index out of range) in `(*nodeStack).pop` in node.go, called from `(*parser).clearActiveFormattingElements`, during an `html.Parse` call.

    Affected packages

    Package

    Name: golang.org/x/net

    Purl: pkg:golang/golang.org/x/net

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.0.0-20190125002852-4b62a64f59f7

    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-4r78-hx75-jjj2 | CVE-DB