CVE-2026-97045
MEDIUM 6.1CVSS 3.1Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net
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.
- Published
- 27 Oct 2026
- Last modified
- 4 Nov 2026
- Assigned by
- security@golang.org
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GO-2026-6866
- Sources
- NVDJSONOSV GO-2026-6866JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | golang.org/x/net | < 0.62.0 | 0.62.0 |
References
- https://go.dev/cl/855121 · FIX
- https://go.dev/issue/82622 · REPORT
- https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs · WEB
- https://pkg.go.dev/vuln/GO-2026-6866
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 27 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 Oct 2026)