Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-47911: CWE-400: Uncontrolled Resource Consumption in golang.org/x/net golang.org/x/net/html

0
Medium
VulnerabilityCVE-2025-47911cvecve-2025-47911cwe-400
Published: Thu Feb 05 2026 (02/05/2026, 17:48:44 UTC)
Source: CVE Database V5
Vendor/Project: golang.org/x/net
Product: golang.org/x/net/html

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/13/2026, 06:48:21 UTC

Technical Analysis

CVE-2025-47911 identifies a vulnerability in the golang.org/x/net/html package, specifically within the html.Parse function, which is widely used for parsing HTML content in Go applications. The vulnerability arises from the quadratic time complexity of the parsing algorithm when processing certain crafted HTML inputs. This means that the time and resources required to parse input grow disproportionately with the size of the input, allowing an attacker to supply maliciously constructed HTML that triggers excessive CPU and memory consumption. This uncontrolled resource consumption (CWE-400) can lead to denial of service (DoS) conditions, where the affected application becomes unresponsive or crashes due to resource exhaustion. The vulnerability is remotely exploitable without any authentication or user interaction, making it a significant risk for any network-facing service that parses HTML using this library. Although no known exploits have been reported in the wild, the flaw's presence in a common Go library means that many applications and services could be vulnerable. The vulnerability does not compromise data confidentiality or integrity but impacts availability, potentially disrupting services and causing downtime. No official patches were listed at the time of publication, so mitigation may require temporary workarounds such as input sanitization or limiting resource usage until an update is released.

Potential Impact

For European organizations, the primary impact of CVE-2025-47911 is the risk of denial of service attacks against applications that utilize the vulnerable html.Parse function. This can affect web servers, API endpoints, microservices, and other software components written in Go that process HTML content. Service disruptions can lead to operational downtime, loss of customer trust, and potential financial losses, especially for critical infrastructure or high-availability services. Organizations in sectors such as finance, telecommunications, government, and cloud service providers are particularly vulnerable due to their reliance on robust and continuous service availability. Additionally, the vulnerability could be exploited as part of a larger attack chain to degrade service quality or as a distraction while other attacks are conducted. The lack of authentication or user interaction requirements lowers the barrier for attackers, increasing the likelihood of exploitation attempts. However, since no known exploits are currently active, the immediate risk is moderate but warrants proactive mitigation.

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Go
Date Reserved
2025-05-13T23:31:29.597Z
Cvss Version
null
State
PUBLISHED

Threat ID: 6984daa9f9fa50a62f30a649

Added to database: 2/5/2026, 6:00:09 PM

Last enriched: 2/13/2026, 6:48:21 AM

Last updated: 3/23/2026, 1:13:57 AM

Views: 104

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses