CVE-2025-47911
golang.org/x/net/html: Quadratic parsing complexity in golang.org/x/net/html
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 6, 2026
Updated · October 27, 2026
Description
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.
Statement
Moderate: The golang.org/x/net/html package, used across various Red Hat products, is vulnerable to a denial of service due to quadratic parsing complexity in its html.Parse function. An attacker providing specially crafted HTML content could exploit this flaw, leading to resource exhaustion and service unavailability in applications that process untrusted HTML input.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CWE-400 · Uncontrolled Resource Consumption