6.1Medium
CVE-2026-27136Invoking duplicate attributes can cause XSS in golang.org/x/net/html
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| golang | net | < 0.55.0 | |
| golang.org/x/net | golang.org/x/net/html | < 0.55.0 |
References and patches
- https://go.dev/issue/79575 Issue Tracking
- https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8 Mailing List
- https://go.dev/cl/781685 Issue Tracking
- https://pkg.go.dev/vuln/GO-2026-5030 Vendor Advisory
CPE matches (NVD) (1)
cpe:2.3:a:golang:net:*:*:*:*:*:go:*:*< 0.55.0