GitHub Advisoryadvisory · Go

GHSA-w4gw-w5jq-g9jh golang.org/x/net/html has a Quadratic Parsing Complexity issue

MEDIUM Published 2026-02-12 Modified 2026-02-12 Official page ↗
Aliases
CVE-2025-47911
Ecosystem
Go
Packages
golang.org/x/net/html
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-407
Reviewed
2026-02-12

Affected packages

• Go golang.org/x/net/html: < 0.45.0 → fixed in 0.45.0

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.

Related

Alias · CVE (1)

  • CVE-2025-47911 The html.Parse function in golang.org/x/net/html has quadratic parsing complexity when processing certain inputs, which can lead to denial… vulnerability

Weakness · CWE (1)

  • CWE-407 Inefficient Algorithmic Complexity weakness

References