GO-2026-5029
Dashboard / Vulnerabilities / GO-2026-5029
GO-2026-5029
Published: 22 May 2026Last Modified: 11 Sept 2026
Summary: Invoking incorrect handling of character references in DOCTYPE nodes 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.
References: https://go.dev/issue/79574, https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8, https://go.dev/cl/781703
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
