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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-golang-x-net | no fix listed | DEBIAN-CVE-2026-97045 |
| Debian:13 | golang-golang-x-net | no fix listed | DEBIAN-CVE-2026-97045 |
| Debian:14 | golang-golang-x-net | 1:0.62.0-1 | DEBIAN-CVE-2026-97045 |
| Go | golang.org/x/net | 0.62.0 | GO-2026-6866 |
| Ubuntu:22.04:LTS | adsys | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:24.04:LTS | adsys | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:26.04:LTS | adsys | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:26.10 | adsys | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:22.04:LTS | containerd | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:26.10 | containerd | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:22.04:LTS | golang-1.17 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:22.04:LTS | golang-1.18 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:22.04:LTS | golang-1.20 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:22.04:LTS | golang-1.21 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:24.04:LTS | golang-1.21 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:22.04:LTS | golang-1.22 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:24.04:LTS | golang-1.22 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:22.04:LTS | golang-1.23 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:24.04:LTS | golang-1.23 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:26.04:LTS | golang-1.23 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:22.04:LTS | golang-1.24 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:24.04:LTS | golang-1.24 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:26.04:LTS | golang-1.24 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:22.04:LTS | golang-1.25 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:24.04:LTS | golang-1.25 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:26.04:LTS | golang-1.25 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:22.04:LTS | golang-1.26 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:24.04:LTS | golang-1.26 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:26.04:LTS | golang-1.26 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:26.10 | golang-1.26 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:26.10 | golang-1.27 | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:22.04:LTS | golang-golang-x-net | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:26.04:LTS | golang-golang-x-net | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:26.10 | golang-golang-x-net | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:22.04:LTS | google-guest-agent | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:24.04:LTS | google-guest-agent | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:26.04:LTS | google-guest-agent | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:26.10 | google-guest-agent | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:22.04:LTS | google-osconfig-agent | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:24.04:LTS | google-osconfig-agent | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:26.04:LTS | google-osconfig-agent | no fix listed | UBUNTU-CVE-2026-97045 |
| Ubuntu:26.10 | google-osconfig-agent | no fix listed | UBUNTU-CVE-2026-97045 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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