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

Summary

CVECVE-2026-97045
StatePUBLISHED
AssignerGo
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-27 22:19:22 UTC
Updated2026-10-27 22:19:22 UTC
DescriptionIn 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.

Risk And Classification

Problem Types: CWE-79

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Golang.orgxnet Golang.org/x/net/html affected 0.62.0 semver Not specified

References

ReferenceSourceLinkTags
groups.google.com/g/golang-announce/c/sqrs2vTx_Xs [email protected] groups.google.com
pkg.go.dev/vuln/GO-2026-6866 [email protected] pkg.go.dev
go.dev/issue/82622 [email protected] go.dev
go.dev/cl/855121 [email protected] go.dev
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Ali Sherif (https://www.linkedin.com/in/ali-sherif-13812b276) (en)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report