{"api_version":"1","generated_at":"2026-10-28T03:45:31+00:00","cve":"CVE-2026-97045","urls":{"html":"https://cve.report/CVE-2026-97045","api":"https://cve.report/api/cve/CVE-2026-97045.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-97045","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-97045"},"summary":{"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":"PUBLISHED","assigner":"Go","published_at":"2026-10-27 22:19:22","updated_at":"2026-10-27 22:19:22"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs","name":"https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://pkg.go.dev/vuln/GO-2026-6866","name":"https://pkg.go.dev/vuln/GO-2026-6866","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://go.dev/issue/82622","name":"https://go.dev/issue/82622","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://go.dev/cl/855121","name":"https://go.dev/cl/855121","refsource":"security@golang.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-97045","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97045","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"golang.org/x/net","product":"golang.org/x/net/html","version":"affected 0.62.0 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Ali Sherif (https://www.linkedin.com/in/ali-sherif-13812b276)","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://pkg.go.dev","defaultStatus":"unaffected","packageName":"golang.org/x/net/html","product":"golang.org/x/net/html","programRoutines":[{"name":"childTextNodesAreLiteral"},{"name":"Render"}],"vendor":"golang.org/x/net","versions":[{"lessThan":"0.62.0","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","value":"Ali Sherif (https://www.linkedin.com/in/ali-sherif-13812b276)"}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"CWE-79","lang":"en"}]}],"providerMetadata":{"dateUpdated":"2026-10-27T21:38:56.700Z","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","shortName":"Go"},"references":[{"url":"https://go.dev/cl/855121"},{"url":"https://go.dev/issue/82622"},{"url":"https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs"},{"url":"https://pkg.go.dev/vuln/GO-2026-6866"}],"title":"Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net"}},"cveMetadata":{"assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","assignerShortName":"Go","cveId":"CVE-2026-97045","datePublished":"2026-10-27T21:38:56.700Z","dateReserved":"2026-09-23T23:05:04.988Z","dateUpdated":"2026-10-27T21:38:56.700Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-27 22:19:22","lastModifiedDate":"2026-10-27 22:19:22","problem_types":["CWE-79"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"97045","Ordinal":"1","Title":"Check all ancestor namespace transitions when rendering raw text","CVE":"CVE-2026-97045","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"97045","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Check all ancestor namespace transitions when rendering raw text"}]}}}