Description
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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| golang.org/x/net | golang.org/x/net/html | < 0.55.0 |
References
- https://go.dev/cl/781685Issue Tracking
- https://go.dev/issue/79575Issue Tracking
- https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8Mailing List
- https://pkg.go.dev/vuln/GO-2026-5030Vendor Advisory
Timeline
- Published
- May 22, 2026
- Last modified
- Jul 23, 2026
- NVD status
- Analyzed