{"id":"CVE-2026-97045","revision":"14a56592188e4e97a5f870d593b776b2","records":[{"revision":"14a56592188e4e97a5f870d593b776b2","observedAt":"2026-10-27T22:45:55.385+00:00","statement":{"source":"cve-program","id":"CVE-2026-97045","aliases":[],"title":"Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net","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.","state":0,"publishedAt":"2026-10-27T21:38:56.7+00:00","modifiedAt":"2026-10-27T21:38:56.7+00:00","affected":[{"ecosystem":"https://pkg.go.dev","name":"golang.org/x/net/html","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"golang.org/x/net\",\n                    \"product\": \"golang.org/x/net/html\",\n                    \"collectionURL\": \"https://pkg.go.dev\",\n                    \"packageName\": \"golang.org/x/net/html\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"0.62.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"childTextNodesAreLiteral\"\n                        },\n                        {\n                            \"name\": \"Render\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[],"references":["https://go.dev/cl/855121","https://go.dev/issue/82622","https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs","https://pkg.go.dev/vuln/GO-2026-6866"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-97045","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-97045","identifiers":["CVE-2026-97045"]},"retained":false,"historicalAffected":[]}],"coverage":[]}