6.1medium
Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html
- Severity
- 6.1medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GO-2026-5029
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| golang.org/x/net/html | before 0.55.0 | CVE List |
| golang.org/x/net (Go) | before 0.55.0 | Go Vulnerability Database |
| golang net | before 0.55.0 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
Procesar HTML arbitrario que luego se renderiza usando Render puede resultar en un árbol HTML inesperado. Esto puede ser aprovechado para ejecutar ataques XSS en aplicaciones que intentan sanear el HTML de entrada antes de renderizar.
References
| https://go.dev/issue/79574 | issue-tracking, report | |
| https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8 | mailing-list, web | |
| https://go.dev/cl/781703 | fix, issue-tracking | |
| https://pkg.go.dev/vuln/GO-2026-5029 | vendor-advisory | |
Related
RHSA-2026:34357RHSA-2026:34359RHSA-2026:35827RHSA-2026:35828RHSA-2026:37072RHSA-2026:37123RHSA-2026:42078RHSA-2026:42079RHSA-2026:51112RHSA-2026:53412RHSA-2026:53413RHSA-2026:53415RHSA-2026:59560RHSA-2026:59562RHSA-2026:61585RHSA-2026:63134RHSA-2026:66432RHSA-2026:67138RHSA-2026:67139RHSA-2026:67517RHSA-2026:68334RHSA-2026:69293RHSA-2026:90363RHSA-2026:90493RHSA-2026:95744RHSA-2026:95754
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-25681 changed 2026-05-22 | CVE Terms of Use |
| Go Vulnerability Database | GO-2026-5029 changed 2026-11-23 | CC-BY-4.0 |
| NVD | CVE-2026-25681 changed 2026-07-23 | Public domain |