CVE-2026-42506

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:golang:net:*:*:*:*:*:go:*:*

History

29 May 2026, 19:06

Type Values Removed Values Added
CWE CWE-79
First Time Golang net
Golang
CPE cpe:2.3:a:golang:net:*:*:*:*:*:go:*:*
References () https://go.dev/cl/781700 - () https://go.dev/cl/781700 - Issue Tracking
References () https://go.dev/issue/79571 - () https://go.dev/issue/79571 - Issue Tracking
References () https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8 - () https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8 - Mailing List
References () https://pkg.go.dev/vuln/GO-2026-5025 - () https://pkg.go.dev/vuln/GO-2026-5025 - Vendor Advisory

22 May 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-22 16:16

Updated : 2026-05-29 19:06


NVD link : CVE-2026-42506

Mitre link : CVE-2026-42506

CVE.ORG link : CVE-2026-42506


JSON object : View

Products Affected

golang

  • net
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')