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.
Metrics
Affected Vendors & Products
References
History
Wed, 28 Oct 2026 22:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Golang
Golang net |
|
| Vendors & Products |
Golang
Golang net |
Tue, 27 Oct 2026 23:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-20 CWE-79 |
Tue, 27 Oct 2026 21:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net | |
| References |
|
Status: PUBLISHED
Assigner: Go
Published: 2026-10-27T21:38:56.700Z
Updated: 2026-10-27T21:38:56.700Z
Reserved: 2026-09-23T23:05:04.988Z
Link: CVE-2026-97045
No data.
Status : Deferred
Published: 2026-10-27T22:19:22.613
Modified: 2026-10-28T15:24:56.033
Link: CVE-2026-97045
No data.