Golang.org/x/net

27 CVEs in 8 Golang.org/x/net products, including Golang.org/x/net/html, Golang.org/x/net/http2, Golang.org/x/net/dns/dnsmessage.

Golang.org/x/net products with known CVEs

ProductCVEs
Golang.org/x/net/html12
Golang.org/x/net/http211
Golang.org/x/net/dns/dnsmessage1
Golang.org/x/net/http2/h2c1
Golang.org/x/net/http2/hpack1
Golang.org/x/net/http/httpproxy1
Golang.org/x/net/idna1
Golang.org/x/net/proxy1

Golang.org/x/net CVEs with public exploits

CVESeverityExploitation evidencePublished
CVE-2025-22870Medium 4.42 PoC repos2025-03-12
CVE-2023-45288High 7.52 PoC repos2024-04-04
CVE-2023-39325High 7.51 PoC repo2023-10-11
CVE-2022-41717Medium 5.31 PoC repo2022-12-08
Golang.org/x/net CVEs — newest first
CVESeverityScorePublishedSummary
CVE-2026-97045Medium6.12026-10-27In childTextNodesAreLiteral, walking up the tree previously stopped at the nearest foreign ancestor once an HTML integration point was found. However, that int…
CVE-2026-78661High7.52026-10-27When coalescing adjacent text nodes in addText and fosterParent, appending to an existing TextNode's Data via string concatenation (n.Data += text) reallocated…
CVE-2026-97032High7.52026-10-08HTTP/2 servers could end up crashing due to inadvertently modifying its HPACK encoder concurrently. This happens because the server modifies the HPACK encoder…
CVE-2026-78669High7.52026-10-08A malicious HTTP/2 peer can cause excessive CPU consumption in the client or server by opening a large number of streams and then sending many small SETTINGS f…
CVE-2026-78663Critical9.12026-10-08The HTTP/2 server can refund connection-level flow control twice for the same data: Once when a client resets a stream (refunding data for any sent-but-unread…
CVE-2026-78660High7.52026-10-08Historically, we have been rather lax about malformed framing-related headers in our HTTP/2 implementation, as they cannot interfere with HTTP/2 framing. Howev…
CVE-2026-78659High7.52026-10-08When "Trailer" headers are sent by a client, the HTTP server internally uses the header values to populate the Request.Trailer map passed to the server handler…
CVE-2026-46600High7.52026-07-21Parsing an invalid SVCB or HTTPS RR can panic when the size of a parameter value overflows the message buffer.
CVE-2026-42506Medium6.12026-05-22Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications…
CVE-2026-42502Medium6.12026-05-22Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications…
CVE-2026-39821Critical9.62026-05-22The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an ASCII-only label. For example, ToUnicode("xn--example-.com") i…
CVE-2026-27136Medium6.12026-05-22Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications…
CVE-2026-25681Medium6.12026-05-22Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications…
CVE-2026-25680Medium6.52026-05-22Parsing arbitrary HTML can consume excessive CPU time, possibly leading to denial of service.
CVE-2026-33814High7.52026-05-07When processing HTTP/2 SETTINGS frames, transport will enter an infinite loop of writing CONTINUATION frames if it receives a SETTINGS_MAX_FRAME_SIZE with a va…
CVE-2026-27141High7.52026-02-26Due to missing nil check, sending 0x0a-0x0f HTTP/2 frames will cause a running server to panic
CVE-2025-58190Medium5.32026-02-05The html.Parse function in golang.org/x/net/html has an infinite parsing loop when processing certain inputs, which can lead to denial of service (DoS) if an a…
CVE-2025-47911Medium5.32026-02-05The 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…
CVE-2025-22872Medium6.52025-04-16The tokenizer incorrectly interprets tags with unquoted attribute values that end with a solidus character (/) as self-closing. When directly using Tokenizer…
CVE-2025-22870Medium4.42025-03-12Matching of hosts against proxy patterns can improperly treat an IPv6 zone ID as a hostname component. For example, when the NO_PROXY environment variable is s…
CVE-2024-45338Medium5.32024-12-18An attacker can craft an input to the Parse functions that would be processed non-linearly with respect to its length, resulting in extremely slow parsing. Thi…
CVE-2023-45288High7.52024-04-04An attacker may cause an HTTP/2 endpoint to read arbitrary amounts of header data by sending an excessive number of CONTINUATION frames. Maintaining HPACK stat…
CVE-2023-39325High7.52023-10-11A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of…
CVE-2023-3978Medium6.12023-08-02Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS attack.
CVE-2022-41723High7.52023-02-28A maliciously crafted HTTP/2 stream could cause excessive CPU consumption in the HPACK decoder, sufficient to cause a denial of service from a small number of…
CVE-2022-41721High7.52023-01-13A request smuggling attack is possible when using MaxBytesHandler. When using MaxBytesHandler, the body of an HTTP request is not fully consumed. When the serv…
CVE-2022-41717Medium5.32022-12-08An attacker can cause excessive memory growth in a Go server accepting HTTP/2 requests. HTTP/2 server connections contain a cache of HTTP header keys sent by t…