Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html
cve-program · CVE-2026-42506
PublishedParsing 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.
Read the publisher's advisoryeuvd · EUVD-2026-31446
PublishedParsing 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.
Read the publisher's advisorynvd · CVE-2026-42506
PublishedParsing 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.
Read the publisher's advisoryosv · GO-2026-5025
PublishedParsing 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-42506 · CVE overview and exploitation status
cve-program · CVE-2026-42506
- https://go.dev/issue/79571
- https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8
- https://go.dev/cl/781700
- https://pkg.go.dev/vuln/GO-2026-5025
euvd · EUVD-2026-31446
- https://go.dev/issue/79571
- https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8
- https://go.dev/cl/781700
- https://pkg.go.dev/vuln/GO-2026-5025
nvd · CVE-2026-42506
- https://go.dev/cl/781700
- https://go.dev/issue/79571
- https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8
- https://pkg.go.dev/vuln/GO-2026-5025
osv · GO-2026-5025
Related changes
Linked by CVE identifierNo related changes are available here.