{"id":"GO-2026-6866","summary":"Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net","details":"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 \u003cmglyph\u003e or \u003cmalignmark\u003e fostered under \u003cmtext\u003e), causing a parser to resolve the subtree in a different foreign namespace upon re-parsing the rendered output.\n\nContinue 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.","aliases":["CVE-2026-97045"],"modified":"2026-10-27T21:45:08.978077289Z","published":"2026-10-27T21:16:18Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-6866","review_status":"REVIEWED"},"references":[{"type":"FIX","url":"https://go.dev/cl/855121"},{"type":"REPORT","url":"https://go.dev/issue/82622"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs"}],"affected":[{"package":{"name":"golang.org/x/net","ecosystem":"Go","purl":"pkg:golang/golang.org/x/net"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.62.0"}]}],"ecosystem_specific":{"imports":[{"path":"golang.org/x/net/html","symbols":["Render","childTextNodesAreLiteral"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-6866.json"}}],"schema_version":"1.9.2","credits":[{"name":"Ali Sherif (https://www.linkedin.com/in/ali-sherif-13812b276)"}]}