CVE-2025-22872: GO-2025-3595 - Incorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net

CVE-2025-22872 · Severity: medium · CVSS 4 · Published 2025-04-16

Incorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net

Technologies: golang.org/x/net (Go). Vendors: Go.

Quick answers

Is CVE-2025-22872 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-22872 being exploited in the wild.
How severe is CVE-2025-22872?
Medium severity, with a CVSS score of 4, published 16 April 2025.
Which products and versions are affected?
golang.org/x/net (Go) SEMVER:introduced=0,fixed=0.38.0.
Is there a fix for CVE-2025-22872?
Yes. golang.org/x/net (Go): upgrade to 0.38.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-22872?
Check whether you run golang.org/x/net (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • golang.org/x/net (Go): upgrade to 0.38.0 or later
    go get golang.org/x/net@v0.38.0

Affected products

  • golang.org/x/net (Go) SEMVER:introduced=0,fixed=0.38.0

Identifiers

  • CVE-2025-22872
  • GHSA-vvgc-356p-c3xw
  • GO-2025-3595

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.