{"id":"CVE-2026-25681","published":"2026-05-22T15:01:21Z","modified":"2026-05-22T17:46:20Z","title":"Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html","vendor":"golang.org/x/net","product":"golang.org/x/net/html","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00315,"percentile":0.16897,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/issue/79574","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8","tags":[]},{"url":"https://go.dev/cl/781703","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-5029","tags":[]}],"priority":{"score":7.6,"factors":[{"name":"EPSS percentile","points":3.38},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"golang-org-x-net","affectedVersions":[{"vendor":"golang.org/x/net","product":"golang.org/x/net/html","versions":["< 0.55.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-22T17:46:00.775026Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"golang.org/x/net","vulnerableRanges":["<0.55.0"],"patched":["0.55.0"],"from":["GO-2026-5029"],"provenance":"source"}],"summary":{"text":"The flaw lies in the golang.org/x/net/html package, where incorrect handling of character references in DOCTYPE nodes causes HTML parsed and then rendered with Render to produce an unexpected tree. An attacker who supplies crafted HTML can exploit this, with user interaction required and no authentication, to achieve cross-site scripting in applications that sanitize input HTML before rendering it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:26Z"},"euvd":{"id":"EUVD-2026-31452","exploited":false,"provenance":"source"}}