A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-58190

CVE-2025-58190: Go Html Parser DoS Vulnerability

CVE-2025-58190 is a denial of service vulnerability in the Go Html parser that triggers an infinite loop with crafted HTML input. This article covers the technical details, affected versions, security impact, and mitigation.

Updated: May 15, 2026

CVE-2025-58190 Overview

CVE-2025-58190 is a denial-of-service vulnerability in the html.Parse function within the golang.org/x/net/html package. The function enters an infinite parsing loop when processing specially crafted HTML inputs. An attacker who can supply HTML content to an affected Go application can trigger sustained CPU consumption, blocking the parsing goroutine and degrading service availability.

The issue is tracked by the Go vulnerability database as GO-2026-4441 and is classified under CWE-835 (Loop with Unreachable Exit Condition). The vulnerability is network-exploitable, requires no privileges, and needs no user interaction.

Critical Impact

Remote attackers can trigger an infinite loop in html.Parse, causing CPU exhaustion and denial of service in any Go service that parses untrusted HTML input.

Affected Products

  • golang.org/x/net/html package (Go supplementary networking libraries)
  • Go applications that invoke html.Parse on untrusted input
  • Downstream libraries and services depending on vulnerable x/net/html versions

Discovery Timeline

  • 2026-02-05 - CVE-2025-58190 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2025-58190

Vulnerability Analysis

The html.Parse function tokenizes and constructs a parse tree from HTML input following the WHATWG HTML parsing algorithm. When processing certain malformed token sequences, the parser fails to make forward progress and re-enters the same state indefinitely. The result is a non-terminating loop that consumes a CPU core for as long as the parsing call runs.

Because Go HTTP handlers and content processing pipelines frequently delegate to html.Parse for sanitization, scraping, feed processing, or templating, a single malicious request can occupy a worker goroutine permanently. Repeated requests rapidly exhaust available CPU and goroutine resources, producing a denial-of-service condition. The flaw does not allow memory disclosure, integrity violation, or code execution.

Root Cause

The root cause is a loop termination defect in the HTML tokenizer/tree-construction state machine. Specific input sequences cause the parser to oscillate between states without advancing the input position or reaching an end-of-input condition. This matches the CWE-835 pattern of a loop with an unreachable exit condition. The official fix is delivered in Go.dev Change List #709875.

Attack Vector

Exploitation requires only the ability to deliver HTML content to a Go application that calls html.Parse. Typical delivery paths include HTTP request bodies, uploaded documents, RSS or Atom feed fetches, webhook payloads, and HTML email processing. The attacker submits a crafted HTML payload that exercises the vulnerable parser state. The handling goroutine then loops without returning, and concurrent requests amplify the impact until the host becomes unresponsive. No authentication, privileges, or user interaction are required. See the Go.dev Vulnerability Advisory GO-2026-4441 and GitHub Vulnerability Issue #4441 for upstream technical details.

Detection Methods for CVE-2025-58190

Indicators of Compromise

  • Sustained 100% CPU utilization on one or more goroutines within a Go process that parses HTML
  • Increasing request latency or timeouts on endpoints that accept HTML, RSS, or scraped content
  • Goroutine stack traces showing long-running frames inside golang.org/x/net/html parser functions
  • Repeated incoming requests carrying anomalous or malformed HTML payloads from a small set of source IPs

Detection Strategies

  • Run govulncheck against application binaries and source trees to identify imports of vulnerable golang.org/x/net/html versions.
  • Inspect dependency manifests (go.mod, go.sum) for golang.org/x/net versions predating the fix in CL 709875.
  • Capture periodic goroutine profiles via net/http/pprof and alert when goroutines remain in html parser frames beyond an expected upper bound.
  • Correlate spikes in process CPU time with HTTP request logs to identify payloads that trigger the loop.

Monitoring Recommendations

  • Alert on per-request CPU time or wall-clock duration exceeding a defined threshold for endpoints that invoke html.Parse.
  • Track goroutine counts and runtime scheduler metrics, flagging unbounded growth without corresponding request completion.
  • Log and rate-limit clients submitting unusually large or malformed HTML bodies to parsing endpoints.

How to Mitigate CVE-2025-58190

Immediate Actions Required

  • Upgrade golang.org/x/net to the patched release referenced in GO-2026-4441 and rebuild affected binaries.
  • Run govulncheck ./... across all Go services to enumerate call sites that reach the vulnerable html.Parse code path.
  • Wrap html.Parse invocations on untrusted input with a context.Context deadline or goroutine timeout to bound execution time.
  • Apply request size limits and input validation in front of any handler that parses HTML from external sources.

Patch Information

The upstream fix is published as Go.dev Change List #709875 and announced via the Google Group Announcement. Update the golang.org/x/net module to the fixed version listed in the Go.dev Vulnerability Advisory GO-2026-4441, then run go mod tidy and redeploy.

Workarounds

  • Execute html.Parse in a separate goroutine guarded by a timeout and abort the parse if it exceeds a safe limit.
  • Reject HTML inputs above a conservative byte threshold before invoking the parser.
  • Restrict access to HTML-processing endpoints behind authentication and per-client rate limits until patching is complete.
bash
# Update the vulnerable module to the patched version
go get golang.org/x/net@latest
go mod tidy

# Verify no remaining vulnerable call paths
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGo Html

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-835
  • Technical References
  • GitHub Vulnerability Issue #4441

  • Google Group Announcement
  • Vendor Resources
  • Go.dev Change List #709875

  • Go.dev Vulnerability Advisory GO-2026-4441
  • Latest CVEs
  • CVE-2025-11956: OBS Student Affairs System XSS Flaw

  • CVE-2026-49199: Acer Predator Connect W6x Firmware RCE Flaw

  • CVE-2026-46344: Openquantumsafe Liboqs DOS Vulnerability

  • CVE-2026-44518: Openquantumsafe Liboqs DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English