golang.org/x/net/html has a Quadratic Parsing Complexity issue
Date: 2026-02
Affected: go/golang.org/x/net/html
Attack vector: dos
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2025-47911
CWE: CWE-407
CVSS: 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)

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.


Mitigations:

Architectural layers (MAESTRO):