Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. golang.org/x/net/html
  4. ›
  5. CVE-2025-47911

CVE-2025-47911: golang.org/x/net/html has a Quadratic Parsing Complexity issue

February 12, 2026

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

  • github.com/advisories/GHSA-w4gw-w5jq-g9jh
  • github.com/golang/vulndb/issues/4440
  • go.dev/cl/709876
  • go.googlesource.com/net
  • groups.google.com/g/golang-announce/c/jnQcOYpiR2c
  • nvd.nist.gov/vuln/detail/CVE-2025-47911
  • pkg.go.dev/vuln/GO-2026-4440

Code Behaviors & Features

Detect and mitigate CVE-2025-47911 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.45.0

Fixed versions

  • 0.45.0

Solution

Upgrade to version 0.45.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-407: Inefficient Algorithmic Complexity

Source file

go/golang.org/x/net/html/CVE-2025-47911.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:34 +0000.