{"id":"CVE-2026-25681","aliases":["GO-2026-5029"],"title":"Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html","summary":"Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html","severity":"none","vendor":"x","product":"golang.org/x/net","ecosystem":"go","affected":["golang.org/x/net < 0.55.0"],"patched":["golang.org/x/net 0.55.0"],"published":"2026-05-22","updated":"2026-09-22","sourceUpdated":"2026-09-22T10:41:48.499970547Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GO-2026-5029","references":[{"url":"https://go.dev/issue/79574"},{"url":"https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8"},{"url":"https://go.dev/cl/781703"}],"tags":["osv","go"],"epss":0.00223,"epssPercentile":0.13197,"ingestedAt":"2026-07-09T18:56:37.041Z","slug":"CVE-2026-25681","body":"## Overview\n\nParsing 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.\n\n## Affected packages\n\n- `golang.org/x/net < 0.55.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `golang.org/x/net 0.55.0`","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}