Vulnerability · Published Oct 27, 2026 · Assigned by Go

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

Medium 6.1

In plain English

A medium-severity cross-site scripting in golang.org/x/net/html from golang.org/x/net. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.3%top 81.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-golang-x-netno fix listedDEBIAN-CVE-2026-97045
Debian:13golang-golang-x-netno fix listedDEBIAN-CVE-2026-97045
Debian:14golang-golang-x-net1:0.62.0-1DEBIAN-CVE-2026-97045
Gogolang.org/x/net0.62.0GO-2026-6866
Ubuntu:22.04:LTSadsysno fix listedUBUNTU-CVE-2026-97045
Ubuntu:24.04:LTSadsysno fix listedUBUNTU-CVE-2026-97045
Ubuntu:26.04:LTSadsysno fix listedUBUNTU-CVE-2026-97045
Ubuntu:26.10adsysno fix listedUBUNTU-CVE-2026-97045
Ubuntu:22.04:LTScontainerdno fix listedUBUNTU-CVE-2026-97045
Ubuntu:26.10containerdno fix listedUBUNTU-CVE-2026-97045
Ubuntu:22.04:LTSgolang-1.17no fix listedUBUNTU-CVE-2026-97045
Ubuntu:22.04:LTSgolang-1.18no fix listedUBUNTU-CVE-2026-97045
Ubuntu:22.04:LTSgolang-1.20no fix listedUBUNTU-CVE-2026-97045
Ubuntu:22.04:LTSgolang-1.21no fix listedUBUNTU-CVE-2026-97045
Ubuntu:24.04:LTSgolang-1.21no fix listedUBUNTU-CVE-2026-97045
Ubuntu:22.04:LTSgolang-1.22no fix listedUBUNTU-CVE-2026-97045
Ubuntu:24.04:LTSgolang-1.22no fix listedUBUNTU-CVE-2026-97045
Ubuntu:22.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2026-97045
Ubuntu:24.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2026-97045
Ubuntu:26.04:LTSgolang-1.23no fix listedUBUNTU-CVE-2026-97045
Ubuntu:22.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2026-97045
Ubuntu:24.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2026-97045
Ubuntu:26.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2026-97045
Ubuntu:22.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2026-97045
Ubuntu:24.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2026-97045
Ubuntu:26.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2026-97045
Ubuntu:22.04:LTSgolang-1.26no fix listedUBUNTU-CVE-2026-97045
Ubuntu:24.04:LTSgolang-1.26no fix listedUBUNTU-CVE-2026-97045
Ubuntu:26.04:LTSgolang-1.26no fix listedUBUNTU-CVE-2026-97045
Ubuntu:26.10golang-1.26no fix listedUBUNTU-CVE-2026-97045
Ubuntu:26.10golang-1.27no fix listedUBUNTU-CVE-2026-97045
Ubuntu:22.04:LTSgolang-golang-x-netno fix listedUBUNTU-CVE-2026-97045
Ubuntu:26.04:LTSgolang-golang-x-netno fix listedUBUNTU-CVE-2026-97045
Ubuntu:26.10golang-golang-x-netno fix listedUBUNTU-CVE-2026-97045
Ubuntu:22.04:LTSgoogle-guest-agentno fix listedUBUNTU-CVE-2026-97045
Ubuntu:24.04:LTSgoogle-guest-agentno fix listedUBUNTU-CVE-2026-97045
Ubuntu:26.04:LTSgoogle-guest-agentno fix listedUBUNTU-CVE-2026-97045
Ubuntu:26.10google-guest-agentno fix listedUBUNTU-CVE-2026-97045
Ubuntu:22.04:LTSgoogle-osconfig-agentno fix listedUBUNTU-CVE-2026-97045
Ubuntu:24.04:LTSgoogle-osconfig-agentno fix listedUBUNTU-CVE-2026-97045
Ubuntu:26.04:LTSgoogle-osconfig-agentno fix listedUBUNTU-CVE-2026-97045
Ubuntu:26.10google-osconfig-agentno fix listedUBUNTU-CVE-2026-97045

Affected products (as reported)

VendorProductVersions
golang.org/x/net golang.org/x/net/html 0 – before 0.62.0

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References