Cross-site scriptingin golang.org/x/net/html.
No public exploit found; not on exploited lists.
In childTextNodesAreLiteral, walking up the tree previously stopped at the nearest foreign ancestor once an HTML integration point was found. However, that integration point may itself be a descendant of an element that was foster-parented into a foreign namespace (such as <mglyph> or <malignmark> fostered under <mtext>), causing a parser to resolve the subtree in a different foreign namespace upon re-parsing the rendered output. Continue walking the full ancestor chain and verify that every transition from a non-empty namespace occurs at an HTML integration point before emitting literal text.
- Upgrade golang.org/x/net/html to 0.62.0 or later.
- Upgrade golang.org/x/net (Go) to 0.62.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 23 Sep 2026CVE ID reserved by Go.
- 27 Oct 2026Published in the CVE List.
- 4 Nov 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other golang.org/x/net/html vulnerabilities
Same weakness: Cross-site scripting
Patchminder. CVE-2026-97045: Cross-site scripting in golang.org/x/net/html. https://patchminder.com/cve/cve-2026-97045/ (accessed 5 December 2026).