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

Published Oct 27, 2026
·
Updated

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

Other sources

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.

— MITRE

Affected Software

94 affected componentsFixes available
go/golang.org/x/net
debian/golang-golang-x-net<=1:0.7.0+dfsg-1, <=1:0.27.0-2
1:0.62.0-1
debian/golang-golang-x-net*
debian/golang-golang-x-net*
debian/golang-golang-x-net<1:0.62.0-1
1:0.62.0-1
ubuntu/golang-1.10*
ubuntu/golang-1.10*
ubuntu/golang-1.6*
ubuntu/golang-golang-x-net-dev*
ubuntu/juju-core*
ubuntu/lxd*
ubuntu/containerd*
ubuntu/golang-1.13*
ubuntu/golang-1.18*
ubuntu/google-guest-agent*
ubuntu/google-osconfig-agent*
ubuntu/golang-1.10*
ubuntu/lxd*
ubuntu/containerd*
ubuntu/golang-1.13*
ubuntu/golang-1.16*
ubuntu/golang-1.18*
ubuntu/golang-1.8*
ubuntu/golang-golang-x-net-dev*
ubuntu/google-guest-agent*
ubuntu/google-osconfig-agent*
ubuntu/adsys*
ubuntu/containerd*
ubuntu/golang-1.13*
ubuntu/google-guest-agent*
ubuntu/golang-1.16*
ubuntu/golang-1.18*
ubuntu/golang-1.22*
ubuntu/golang-golang-x-net-dev*
ubuntu/google-osconfig-agent*
ubuntu/lxd*
ubuntu/adsys*
ubuntu/containerd*
ubuntu/golang-1.17*
ubuntu/golang-1.22*
ubuntu/golang-1.24*
ubuntu/google-guest-agent*
ubuntu/google-osconfig-agent*
ubuntu/golang-1.13*
ubuntu/golang-golang-x-net*
ubuntu/adsys*
ubuntu/golang-1.21*
ubuntu/golang-1.22*
ubuntu/golang-1.24*
ubuntu/google-guest-agent*
ubuntu/google-osconfig-agent*
ubuntu/containerd*
ubuntu/golang-golang-x-net*
ubuntu/adsys*
ubuntu/containerd*
ubuntu/golang-1.26*
ubuntu/golang-golang-x-net*
ubuntu/google-guest-agent*
ubuntu/google-osconfig-agent*
ubuntu/adsys*
ubuntu/golang-1.23*
ubuntu/golang-1.24*
ubuntu/golang-golang-x-net*
ubuntu/google-guest-agent*
ubuntu/google-osconfig-agent*
ubuntu/containerd*
All of the following
azurelinux/kubevirt<1.8.4-5
1.8.4-5
Microsoft Azure Linux=3.0
All of the following
azurelinux/dasel<2.8.1-6
2.8.1-6
Microsoft Azure Linux=3.0
All of the following
azurelinux/sriov-network-device-plugin<3.7.0-10
3.7.0-10
Microsoft Azure Linux=3.0
All of the following
azurelinux/kubernetes<1.30.10-33
1.30.10-33
Microsoft Azure Linux=3.0
All of the following
azurelinux/kube-vip-cloud-provider<0.0.10-12
0.0.10-12
Microsoft Azure Linux=3.0
All of the following
azurelinux/gh<2.102.0-3
2.102.0-3
Microsoft Azure Linux=3.0
All of the following
azurelinux/docker-compose<2.27.0-17
2.27.0-17
Microsoft Azure Linux=3.0
All of the following
azurelinux/docker-buildx<0.14.0-20
0.14.0-20
Microsoft Azure Linux=3.0
All of the following
azurelinux/cni-plugins<1.4.0-7
1.4.0-7
Microsoft Azure Linux=3.0
All of the following
azurelinux/cri-tools<1.32.0-11
1.32.0-11
Microsoft Azure Linux=3.0
All of the following
azurelinux/containerized-data-importer<1.62.0-10
1.62.0-10
Microsoft Azure Linux=3.0
All of the following
azurelinux/cloud-provider-kubevirt<0.5.1-11
0.5.1-11
Microsoft Azure Linux=3.0
All of the following
azurelinux/application-gateway-kubernetes-ingress<1.7.7-8
1.7.7-8
Microsoft Azure Linux=3.0
All of the following
azurelinux/telegraf<1.31.0-37
1.31.0-37
Microsoft Azure Linux=3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/golang-golang-x-net to a version that resolves this vulnerability.

    Fixed in 1:0.62.0-1
  2. Upgrade

    Upgrade azurelinux/kubevirt to a version that resolves this vulnerability.

    Fixed in 1.8.4-5
  3. Upgrade

    Upgrade azurelinux/dasel to a version that resolves this vulnerability.

    Fixed in 2.8.1-6
  4. Upgrade

    Upgrade azurelinux/sriov-network-device-plugin to a version that resolves this vulnerability.

    Fixed in 3.7.0-10
  5. Upgrade

    Upgrade azurelinux/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.30.10-33
  6. Upgrade

    Upgrade azurelinux/kube-vip-cloud-provider to a version that resolves this vulnerability.

    Fixed in 0.0.10-12
  7. Upgrade

    Upgrade azurelinux/gh to a version that resolves this vulnerability.

    Fixed in 2.102.0-3
  8. Upgrade

    Upgrade azurelinux/docker-compose to a version that resolves this vulnerability.

    Fixed in 2.27.0-17
  9. Upgrade

    Upgrade azurelinux/cni-plugins to a version that resolves this vulnerability.

    Fixed in 1.4.0-7
  10. Upgrade

    Upgrade azurelinux/docker-buildx to a version that resolves this vulnerability.

    Fixed in 0.14.0-20
  11. Upgrade

    Upgrade azurelinux/cri-tools to a version that resolves this vulnerability.

    Fixed in 1.32.0-11
  12. Upgrade

    Upgrade azurelinux/containerized-data-importer to a version that resolves this vulnerability.

    Fixed in 1.62.0-10
  13. Upgrade

    Upgrade azurelinux/cloud-provider-kubevirt to a version that resolves this vulnerability.

    Fixed in 0.5.1-11
  14. Upgrade

    Upgrade azurelinux/application-gateway-kubernetes-ingress to a version that resolves this vulnerability.

    Fixed in 1.7.7-8
  15. Upgrade

    Upgrade azurelinux/telegraf to a version that resolves this vulnerability.

    Fixed in 1.31.0-37
  16. Upgrade

    Upgrade azurelinux/telegraf to a version that resolves this vulnerability.

    Fixed in 1.31.0-38
  17. Compensating control

    In golang.org/x/net, update childTextNodesAreLiteral to 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, including when the integration point is beneath a foster-parented foreign-namespace element such as <mglyph> or <malignmark> under <mtext>.

Event History

Oct 27, 2026
CVE Published
via MITRE·09:38 PM
Data Sourced
via MITRE·09:38 PM
DescriptionWeakness
Data Sourced
via OSV·10:19 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:19 PM
DescriptionSeverityWeakness
Oct 31, 2026
Data Sourced
via Microsoft·08:07 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What conditions are needed for exploitation?

An attacker would need to influence HTML that is rendered as literal raw text within a tree containing foreign-namespace elements and HTML integration points. The relevant case involves an integration point that is itself beneath an element foster-parented into a foreign namespace, so that reparsing the rendered output resolves the subtree in a different namespace.

2

Which applications are most relevant to review?

Review applications using go/golang.org/x/net to render HTML containing attacker-influenced content, especially where that content can participate in MathML or other foreign-namespace markup and is later parsed by a browser.

3

How can I assess whether an existing output path is exposed?

Look for rendered output that contains a foreign-namespace ancestor chain, an HTML integration point, and literal text emitted below that point. The risky pattern is one where an ancestor such as mglyph or malignmark is foster-parented under mtext, allowing the browser to reparse the output under a different foreign namespace.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203