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 <mglyp...
Product
golang.org/x/net/html vulnerabilities
12 published CVES affecting golang.org/x/net/html, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 12
- Critical
- 0
- High
- 1
- Medium
- 11
- Low
- 0
- Unscored
- 0
- CISA KEV
- 0
Latest golang.org/x/net/html CVEs
Newest publication first
-
MediumCVSS 6.1 EPSS 0.27%
-
CVE-2026-78661 Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net
PublishedHighCVSS 7.5 EPSS 0.41%When coalescing adjacent text nodes in addText and fosterParent, appending to an existing TextNode's Data via string concatenation (n.Data += text) reallocated and copied the accumulated string on every token. Inputs containing many short text runs separated by ignored end tags (...
-
MediumCVSS 6.1 EPSS 0.26%
Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering.
-
MediumCVSS 6.1 EPSS 0.26%
Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering.
-
CVE-2026-25680 Invoking denial of service when parsing arbitrary HTML in golang.org/x/net/html
PublishedMediumCVSS 6.5 EPSS 0.33%Parsing arbitrary HTML can consume excessive CPU time, possibly leading to denial of service.
-
MediumCVSS 6.1 EPSS 0.24%
Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering.
-
MediumCVSS 6.1 EPSS 0.22%
Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering.
-
MediumCVSS 5.3 EPSS 0.54%
The html.Parse function in golang.org/x/net/html has an infinite parsing loop when processing certain inputs, which can lead to denial of service (DoS) if an attacker provides specially crafted HTML content.
-
MediumCVSS 5.3 EPSS 0.56%
The html.Parse function in golang.org/x/net/html has quadratic parsing complexity when processing certain inputs, which can lead to denial of service (DoS) if an attacker provides specially crafted HTML content.
-
MediumCVSS 6.5 EPSS 0.56%
The tokenizer incorrectly interprets tags with unquoted attribute values that end with a solidus character (/) as self-closing. When directly using Tokenizer, this can result in such tags incorrectly being marked as self-closing, and when using the Parse functions, this can resul...
-
MediumCVSS 5.3 EPSS 1.1%
An attacker can craft an input to the Parse functions that would be processed non-linearly with respect to its length, resulting in extremely slow parsing. This could cause a denial of service.
-
MediumCVSS 6.1 EPSS 0.85%
Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS attack.
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.