CVE-2026-97045 Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net

Not scored Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-97045?

CVE-2026-97045 is a vulnerability in golang.org/x/net/html, published on 27 Oct 2026.

Official description

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.

Which versions are affected by CVE-2026-97045?

1 open source package ship an affected version, including golang.org/x/net.

PackageAffectedFixed in
golang.org/x/net GoAll versions0.62.0

How do I fix CVE-2026-97045?

Upgrade golang.org/x/net to 0.62.0 or later.

Is CVE-2026-97045 being exploited?

There is no known exploitation of CVE-2026-97045 in the wild and no public exploit code.

Sources

Also known as CLEANSTART-2026-KJ55462, DEBIAN-CVE-2026-97045, ECHO-5fd1-50a5-cc44, GHSA-vwcj-r8v9-p53f, GO-2026-6866, MINI-224v-gr76-qv78 and 113 more.

Is CVE-2026-97045 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free