GO-2026-5027

    Dashboard / Vulnerabilities / GO-2026-5027

    GO-2026-5027

    Published: 22 May 2026Last Modified: 11 Sept 2026

    Summary: Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html

    Details: Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering.

    Affected packages

    Package

    Name: golang.org/x/net

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

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.55.0

    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
    GO-2026-5027 | CVE-DB