Skip to main content

golang.org/x/net/html EUVDEUVD-2026-31447

| CVE-2026-25680 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-05-22 Go GHSA-5cv4-jp36-h3mw
6.5
CVSS 3.1 · Vendor: Go
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Go application parsing untrusted HTML
  2. Delivery
    Craft malicious HTML with CPU-exhausting structure
  3. Exploit
    Submit via user-facing input vector (form/upload/API)
  4. Execution
    Parser enters pathological processing loop
  5. Persist
    CPU exhausted on server
  6. Impact
    Denial of service for legitimate users

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerable code path is reached when an application passes attacker-controlled HTML content directly to the golang.org/x/net/html parser (e.g., html.Parse, html.ParseFragment) without prior input sanitization or size restriction. The CVSS UI:R vector indicates that a user interaction step - such as submitting a form, uploading a file, or triggering an HTML fetch - must occur for the parsing to be invoked, meaning fully automated remote exploitation is not possible against passive services. No authentication is required (PR:N), but the attacker must have access to an application endpoint that accepts and processes HTML input. Limiting factors include: the requirement for user interaction (UI:R), no scope change (S:U, contained blast radius), and availability-only impact (no data exfiltration). Applications that do not accept external HTML input, or that pre-validate and size-cap documents before parsing, are not meaningfully exposed.

Impact

The CVSS 6.5 medium score reflects AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - network-reachable, low complexity, no privileges required, but user interaction required, with availability impact only. The UI:R component is significant: it implies an end-user action (e.g., submitting HTML content, uploading a document) is part of the attack path, limiting full automation. This aligns precisely with the SSVC assessment of 'Automatable: no' - attackers cannot spray this at scale without triggering the interaction mechanism. EPSS at 0.04% (13th percentile) and SSVC 'Exploitation: none' confirm this is a theoretical risk with no observed in-the-wild abuse. The SSVC 'Technical Impact: partial' accurately captures the scope-limited DoS with no confidentiality or integrity consequence. Real-world priority is moderate: applications that accept untrusted HTML from external users (content aggregators, web scrapers, email renderers, HTML sanitizers) face genuine resource exhaustion risk, but the absence of automation and exploitation evidence deprioritizes this versus actively exploited CVEs. No conflicting signals were identified across data sources.

Exploit ScenarioDerived

An attacker submits a specially crafted HTML document - via a web form, file upload, or API endpoint - to a Go application that uses golang.org/x/net/html to parse user-supplied markup. The malformed HTML triggers pathological CPU consumption within the parser, causing the handling goroutine (or process) to spike resource usage; if requests are concurrent, this can saturate available CPU cores and render the service unresponsive to legitimate users. No public proof-of-concept code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 29, 2026

Excessive CPU consumption in the golang.org/x/net/html package's HTML parser allows remote attackers to cause denial of service by supplying crafted HTML input to any Go application that parses untrusted markup using this library. All versions before 0.55.0 are confirmed affected per EUVD-2026-31447 and the Go vulnerability database (GO-2026-5028). No active exploitation has been identified - CISA SSVC rates exploitation as 'none' and the EPSS score of 0.04% (13th percentile) indicates very low observed exploitation probability at time of analysis.

RemediationAI

Upgrade golang.org/x/net to version 0.55.0 or later, which incorporates the upstream fix from Go change CL/781702 (https://go.dev/cl/781702). This is a module-level dependency update: run 'go get golang.org/x/net@v0.55.0' and 'go mod tidy' to update go.mod and go.sum. Consult the Go vulnerability advisory at https://pkg.go.dev/vuln/GO-2026-5028 and the golang-announce group post at https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8 for official guidance. If an immediate upgrade is not feasible, a compensating control is to enforce upstream input size limits (e.g., limit HTTP request body size or HTML document length via middleware) before the content reaches the html.Parse call - this trades some functionality for resource protection but does not eliminate the vulnerability. Dependency scanning tools (govulncheck) can confirm whether the affected package version is reachable in a given binary.

Affected VersionsENISA

golang.org/x/net/html 0 <0.55.0

Affected Packages

go golang.org/x/net fix: 0.55.0
euvd golang_org_x_net_html fix: 0.55.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is rooted in CWE-400 (Uncontrolled Resource Consumption), meaning the HTML parser in golang.org/x/net/html does not impose adequate processing limits when handling certain HTML constructs, allowing a single malicious document to consume disproportionate CPU time. The affected component is the golang.org/x/net/html package (CPE: cpe:2.3:a:golang.org/x/net:golang.org/x/net/html:*:*:*:*:*:*:*:*), an extended networking and markup library maintained by the Go team, widely depended upon throughout the Go ecosystem. The fix is tracked upstream as Go change list CL/781702 (https://go.dev/cl/781702) and documented as issue #79573 (https://go.dev/issue/79573), suggesting the root cause involves a specific HTML input pattern that triggers pathological parser behavior - likely a quadratic or exponential complexity edge case in the parsing algorithm.

Know when Golang Org X Net Html gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Go) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 6.5 MEDIUM

Primary rating from Vendor (Go).

CVSS VectorVendor: Go

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
May 29, 2026 - 15:52 NVD
6.5 (None) 6.5 (MEDIUM)
CVE Published
May 22, 2026 - 15:01 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

Parsing arbitrary HTML can consume excessive CPU time, possibly leading to denial of service.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
openSUSE Leap 16.0 Fixed
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 12 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy