Skip to main content
Go Modules

golang.org/x/net Known Vulnerabilities & Fixes

golang.org/x/net has 28 known security vulnerabilities in Go Modules. Upgrade to version 0.60.0 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.

28 Vulnerabilities

Actively Exploited

CISA has confirmed this package has vulnerabilities under active exploitation. Prioritize updating immediately.

Recommended safe version: 0.60.0

Upgrading to 0.60.0 or later resolves all 28 known vulnerabilities in golang.org/x/net. Run: go get golang.org/x/net@v0.60.0

Is golang.org/x/net in your project?

Check if you're affected and upgrade to 0.60.0 to stay secure.

28
Total
0
Critical
4
High
8
Medium
0
Low

Active Exploitation Warning

One or more vulnerabilities in this package are known to be actively exploited in the wild. Immediate action is recommended.

Security Summary

  • 28 affected version ranges have been identified across these 28 advisories.
  • 100% of known issues have a published fixed version.
  • Highest exploit-probability (EPSS) score for golang.org/x/net: 94.0%.
  • Remediation: go get -u golang.org/x/net

Vulnerabilities

28 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed May 24, 2022, most recently Oct 8, 2026 (1598 days apart).

CVE / GHSASeverity
CVE-2023-44487
HTTP/2 Stream Cancellation Attack
Affected
All versions
Fixed in
0.17.0
MEDIUM
CVE-2021-33194
golang.org/x/net/html Infinite Loop vulnerability
Affected
All versions
Fixed in
0.0.0-20210520170846-37e1c6afe023
HIGH
CVE-2022-41723
golang.org/x/net vulnerable to Uncontrolled Resource Consumption
Affected
All versions
Fixed in
0.7.0
HIGH
CVE-2022-41717
golang.org/x/net/http2 vulnerable to possible excessive memory growth
Affected
All versions
Fixed in
0.4.0
MEDIUM
CVE-2021-44716
Unbounded memory growth in net/http and golang.org/x/net/http2
Affected
All versions
Fixed in
0.0.0-20211209124913-491a49abca63
UNKNOWN
CVE-2023-39325
HTTP/2 rapid reset can cause excessive work in net/http
Affected
All versions
Fixed in
0.17.0
HIGH
CVE-2021-31525
golang.org/x/net/http/httpguts vulnerable to Uncontrolled Recursion
Affected
All versions
Fixed in
0.0.0-20210428140749-89ef3d95e781
MEDIUM
CVE-2023-45288
net/http, x/net/http2: close connections when receiving too many headers
Affected
All versions
Fixed in
0.23.0
MEDIUM
CVE-2022-27664
golang.org/x/net/http2 Denial of Service vulnerability
Affected
All versions
Fixed in
0.0.0-20220906165146-f3363e06e74c
HIGH
CVE-2026-39821
Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
Affected
All versions
Fixed in
0.55.0
UNKNOWN
CVE-2024-45338
Non-linear parsing of case-insensitive content in golang.org/x/net/html
Affected
All versions
Fixed in
0.33.0
UNKNOWN
CVE-2026-78663
Double flow control refund on HTTP/2 server streams in net/http
Affected
All versions
Fixed in
0.60.0
UNKNOWN
CVE-2026-33814
Infinite loop in HTTP/2 transport when given bad SETTINGS_MAX_FRAME_SIZE in net/http/internal/http2 in golang.org/x/net
Affected
All versions
Fixed in
0.53.0
UNKNOWN
CVE-2023-3978
Improper rendering of text nodes in golang.org/x/net/html
Affected
All versions
Fixed in
0.13.0
MEDIUM
CVE-2026-78659
HTTP/2 server memory exhaustion due to Trailer headers in net/http
Affected
All versions
Fixed in
0.60.0
UNKNOWN
CVE-2026-78669
Excessive CPU consumption from repeated initial window changes in net/http
Affected
All versions
Fixed in
0.60.0
UNKNOWN
CVE-2026-97032
HTTP/2 server crash due to HPACK encoder race in net/http
Affected
All versions
Fixed in
0.60.0
UNKNOWN
CVE-2025-58190
Infinite parsing loop in golang.org/x/net
Affected
All versions
Fixed in
0.45.0
UNKNOWN
CVE-2025-47911
Quadratic parsing complexity in golang.org/x/net/html
Affected
All versions
Fixed in
0.45.0
UNKNOWN
CVE-2026-46600
Parsing an invalid SVCB or HTTPS RR can panic in golang.org/x/net/dns/dnsmessage
Affected
All versions
Fixed in
0.56.0
UNKNOWN
CVE-2025-22872
golang.org/x/net vulnerable to Cross-site Scripting
Affected
All versions
Fixed in
0.38.0
MEDIUM
CVE-2026-78660
HTTP/2 transport accepts malformed framing-related headers in net/http
Affected
All versions
Fixed in
0.60.0
UNKNOWN
CVE-2026-25680
Go Net HTML parser is vulnerable to denial of service
Affected
All versions
Fixed in
0.55.0
MEDIUM
CVE-2026-42506
Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html
Affected
All versions
Fixed in
0.55.0
UNKNOWN
CVE-2026-42502
Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html
Affected
All versions
Fixed in
0.55.0
UNKNOWN
CVE-2026-27136
Invoking duplicate attributes can cause XSS in golang.org/x/net/html
Affected
All versions
Fixed in
0.55.0
UNKNOWN
CVE-2026-25681
Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html
Affected
All versions
Fixed in
0.55.0
UNKNOWN
CVE-2025-22870
HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net
Affected
All versions
Fixed in
0.36.0
MEDIUM

About This Data

Vulnerability data for golang.org/x/net is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.

CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Check Your Dependencies

Scan your project to check if you're using a vulnerable version of golang.org/x/net.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed