6.1Media
CVE-2026-42506Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html
Descripción
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.
Debilidad (CWE):
CWE-79
Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.
Productos y versiones afectados
| Fabricante | Producto | Versiones | |
|---|---|---|---|
| golang | net | < 0.55.0 | |
| golang.org/x/net | golang.org/x/net/html | < 0.55.0 |
Referencias y parches
- https://go.dev/issue/79571 Issue Tracking
- https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8 Mailing List
- https://go.dev/cl/781700 Issue Tracking
- https://pkg.go.dev/vuln/GO-2026-5025 Vendor Advisory
Coincidencias CPE (NVD) (1)
cpe:2.3:a:golang:net:*:*:*:*:*:go:*:*< 0.55.0