Skip to main content
CVE-2025-47911VulnerabilityPublished Updated

CVE-2025-47911: golang.org/x/net/html · Uncontrolled Resource Consumption

Affects golang.org/x/net/htmlSource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium : upgrade to 0.45.0 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.45.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade golang.org/x/net/html to 0.45.0.

Affected software

ProductAffectedFixed in
golang.org/x/netgolang.org/x/net/htmlAffected
  • <0.45.0
Fixed in
  • 0.45.0
Gogolang.org/x/net/htmlpkg:golang/golang.org/x/net/htmlOther threatsAffected
  • =0
Fixed in–
Gogolang.org/x/net/htmlpkg:golang/golang.org/x/net/htmlOther threatsAffected
  • <0.45.0
Fixed in
  • 0.45.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Monitor golang.org/x/net/html package updates closely and apply patches promptly once available to address the quadratic parsing complexity. 2. Implement input validation and sanitization to reject or limit the size and complexity of HTML inputs before parsing. 3. Employ resource usage limits such as CPU timeouts, memory caps, or process isolation (e.g., containerization) to contain the impact of potential DoS attempts. 4. Use application-layer firewalls or rate-limiting mechanisms to detect and block suspicious traffic patterns that may indicate exploitation attempts. 5. Conduct code audits and dependency reviews to identify all applications using the vulnerable package and prioritize remediation accordingly. 6. Consider alternative HTML parsing libraries with better performance characteristics if immediate patching is not feasible. 7. Enhance logging and monitoring to detect unusual spikes in resource consumption that could signal exploitation attempts. 8. Educate development and operations teams about this vulnerability to ensure awareness and rapid response.

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.

References

Community reviews

Loading reviews…