CVE-2026-97045

high

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.

References

https://pkg.go.dev/vuln/GO-2026-6866

https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs

https://go.dev/issue/82622

https://go.dev/cl/855121

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-111400

Details

Source: Mitre, NVD

Published: 2026-10-27

Updated: 2026-10-28

Named Vulnerability: GO-2026-6866

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Severity: High

EPSS

EPSS: 0.00202