6.1
/ 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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.
Basic Information
ID
CVE-2026-42502
Source
Go
Published
May 22, 2026 at 15:01
Modified
May 22, 2026 at 17:17
Affected Product
Vendor
golang.org/x/net
Product
golang.org/x/net/html
Affected Versions
golang.org/x/net golang.org/x/net/html 0