GoWorst: High21 advisories

golang.org/x/net: known vulnerabilities

golang.org/x/net has 21 reviewed security advisories in the GitHub Advisory Database — 13 high, 8 moderate. The most recent was published 2026-05-22. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the golang.org/x/net versions running across your servers, containers and images, and ranks what to patch first.

How to fix golang.org/x/net

Upgrade golang.org/x/net to a release at or above the fixed version shown for each advisory below. For Go:

go get golang.org/x/net@0.55.0 && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (21)

Go Net HTML parser is vulnerable to denial of service Moderate 6.5 CWE-400 — Affected: before 0.55.0. Fixed in 0.55.0. Published 2026-05-22. GHSA-5cv4-jp36-h3mw · CVE-2026-25680
golang.org/x/net vulnerable to Cross-site Scripting Moderate CWE-79 — Affected: before 0.38.0. Fixed in 0.38.0. Published 2025-04-16. GHSA-vvgc-356p-c3xw · CVE-2025-22872
HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net Moderate 4.4 CWE-115 CWE-20 — Affected: before 0.36.0. Fixed in 0.36.0. Published 2025-03-12. GHSA-qxp5-gwg8-xv66 · CVE-2025-22870
net/http, x/net/http2: close connections when receiving too many headers Moderate 5.3 CWE-400 — Affected: before 0.23.0. Fixed in 0.23.0. Published 2024-04-04. GHSA-4v7x-pqxf-cx7m · CVE-2023-45288
HTTP/2 rapid reset can cause excessive work in net/http High 7.5 CWE-400 CWE-770 — Affected: before 0.17.0. Fixed in 0.17.0. Published 2023-10-11. GHSA-4374-p667-p6c8 · CVE-2023-39325
x/net/html Vulnerable to DoS During HTML Parsing High 7.5 CWE-835 — Affected: before 0.0.0-20190125091013-d26f9f9a57f3. Fixed in 0.0.0-20190125091013-d26f9f9a57f3. Published 2023-09-25. GHSA-vfw5-hrgq-h5wf · CVE-2018-17846
Improper rendering of text nodes in golang.org/x/net/html Moderate 6.1 CWE-79 — Affected: before 0.13.0. Fixed in 0.13.0. Published 2023-08-02. GHSA-2wrh-6pvc-2jm9 · CVE-2023-3978
golang.org/x/net vulnerable to Uncontrolled Resource Consumption High 7.5 CWE-400 — Affected: before 0.7.0. Fixed in 0.7.0. Published 2023-02-28. GHSA-vvpx-j8f3-3w6h · CVE-2022-41723
golang.org/x/net/http2/h2c vulnerable to request smuggling attack High 7.5 CWE-444 — Affected: from 0.0.0-20220524220425-1d687d428aca up to 0.1.1-0.20221104162952-702349b0e862. Fixed in 0.1.1-0.20221104162952-702349b0e862. Published 2023-01-13. GHSA-fxg5-wq6x-vr4w · CVE-2022-41721
golang.org/x/net/http2 vulnerable to possible excessive memory growth Moderate 5.3 CWE-770 — Affected: before 0.4.0. Fixed in 0.4.0. Published 2022-12-08. GHSA-xrjj-mj9h-534m · CVE-2022-41717
golang.org/x/net/http2 Denial of Service vulnerability High 7.5 — Affected: before 0.0.0-20220906165146-f3363e06e74c. Fixed in 0.0.0-20220906165146-f3363e06e74c. Published 2022-09-06. GHSA-69cg-p879-7622 · CVE-2022-27664
golang.org/x/net/http/httpguts vulnerable to Uncontrolled Recursion Moderate 5.9 CWE-674 — Affected: before 0.0.0-20210428140749-89ef3d95e781. Fixed in 0.0.0-20210428140749-89ef3d95e781. Published 2021-05-27. GHSA-h86h-8ppg-mxmh · CVE-2021-31525
golang.org/x/net/html Infinite Loop vulnerability High 7.5 CWE-835 — Affected: before 0.0.0-20210520170846-37e1c6afe023. Fixed in 0.0.0-20210520170846-37e1c6afe023. Published 2021-05-26. GHSA-83g2-8m93-v3w7 · CVE-2021-33194
golang.org/x/net/http vulnerable to a reset flood High 7.5 CWE-400 CWE-770 — Affected: before 0.0.0-20190813141303-74dc4d7220e7. Fixed in 0.0.0-20190813141303-74dc4d7220e7. Published 2019-08-13. GHSA-39qc-96h7-956f · CVE-2019-9512
golang.org/x/net/http vulnerable to ping floods High 7.5 CWE-400 — Affected: before 0.0.0-20190813141303-74dc4d7220e7. Fixed in 0.0.0-20190813141303-74dc4d7220e7. Published 2019-08-13. GHSA-hgr8-6h9x-f7q9 · CVE-2019-9512
golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer High 7.5 CWE-119 — Affected: before 0.0.0-20190125002852-4b62a64f59f7. Fixed in 0.0.0-20190125002852-4b62a64f59f7. Published 2018-10-01. GHSA-4r78-hx75-jjj2 · CVE-2018-17847
golang.org/x/net/html Improper Validation of Array Index vulnerability High 7.5 CWE-129 — Affected: before 0.0.0-20190125002852-4b62a64f59f7. Fixed in 0.0.0-20190125002852-4b62a64f59f7. Published 2018-10-01. GHSA-mv93-wvcp-7m7r · CVE-2018-17847
golang.org/x/net/html NULL Pointer Dereference vulnerability High 7.5 CWE-476 — Affected: before 0.0.0-20180925071336-cf3bd585ca2a. Fixed in 0.0.0-20180925071336-cf3bd585ca2a. Published 2018-09-17. GHSA-2wp2-chmh-r934 · CVE-2018-17142
golang.org/x/net/html has Improper Restriction of Operations within the Bounds of a Memory Buffer High 7.5 CWE-119 — Affected: before 0.0.0-20180921000356-2f5d2388922f. Fixed in 0.0.0-20180921000356-2f5d2388922f. Published 2018-09-17. GHSA-fcf9-6fv2-fc5v · CVE-2018-17143
golang.org/x/net/html NULL Pointer Dereference vulnerability High 7.5 CWE-476 — Affected: before 0.0.0-20180816102801-aaf60122140d. Fixed in 0.0.0-20180816102801-aaf60122140d. Published 2018-09-16. GHSA-5p4h-3377-7w67 · CVE-2018-17075

Find golang.org/x/net across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.