MEDIUM 5.3 Go

golang.org/x/net/html has a Quadratic Parsing Complexity issue

GHSA-w4gw-w5jq-g9jh · CVE-2025-47911 · GO-2026-4440

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes