synced 8 MIN AGO
01 Record

CVE-2025-22872

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

MediumPUBLISHEDCNA: Go
CNA base score6.5 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L

02 Description

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

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.54% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 45.4% of scored records. A rank, not a probability.
NVD base score
6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
NVD analysis status
Deferred. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2025-04-16 17:13Z1 YR AGO
Last updated
2025-05-16 23:03Z1 YR AGO
Reserved
2025-01-08
Assigning CNA
Go
Record state
PUBLISHED
Severity
Medium (CVSS 6.5)
CNA CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
Weaknesses
  • CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')Base
Data version
5.1
Document digest
f3cacb4a3977d7887edd03ef7e2513ea33795587cbc67e136fdbfc8e295a11b5

05 Affected products

VendorProductVersionsPlatforms
golang.org/x/netgolang.org/x/net/html0 to < 0.38.0—

06 References

07 Fixed in

Debian 12

  • golang-golang-x-net
    No fix yet

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • golang-golang-x-net
    Fixed in 1:0.27.0-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • golang-golang-x-net
    Fixed in 1:0.27.0-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • golang-golang-x-net
    Fixed in 1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • golang-golang-x-net-dev
    Fixed in 1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm2
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
  • juju-core
    Fixed in 2.3.7-0ubuntu0.16.04.1+esm2
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
  • lxd
    Fixed in 2.0.11-0ubuntu1~16.04.4+esm2
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • golang-golang-x-net-dev
    Fixed in 1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm2
    Available with Ubuntu Pro: https://ubuntu.com/pro
  • lxd
    Fixed in 3.0.3-0ubuntu1~18.04.2+esm2
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • golang-golang-x-net-dev
    Fixed in 1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm2
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 22.04 LTS

  • golang-golang-x-net
    Fixed in 1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1~esm2
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 24.04 LTS

  • golang-golang-x-net
    Fixed in 1:0.21.0+dfsg-1ubuntu0.1~esm2
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.