CVE-2025-22872 json
Incorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net
published 2025-04-16 18 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-11453 , GHSA-vvgc-356p-c3xw , GO-2025-3595
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
The tokenizer incorrectly interprets tags with unquoted attribute values that end with a solidus character (/) as self-closing. When directly using Tokenizer, this can result in such tags incorrectly being marked as self-closing, and when using the Parse functions, this can result in content following such tags as being placed in the wrong scope during DOM construction, but only when tags are in foreign content (e.g. <math>, <svg>, etc contexts).
Patch / fix
- go golang.org/x/net 0.38.0
- golang.org/x/net golang.org/x/net/html 0.38.0
- golang-golang-x-net Debian 14, Debian 13 1:0.27.0-2
debian advisories DEBIAN-CVE-2025-22872
- golang-golang-x-net Ubuntu 22.04 LTS 1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1
- lxd Ubuntu Pro 16.04 LTS 2.0.11-0ubuntu1~16.04.4+esm2
- lxd Ubuntu Pro 18.04 LTS 3.0.3-0ubuntu1~18.04.2+esm2
- juju-core Ubuntu Pro 16.04 LTS 2.3.7-0ubuntu0.16.04.1+esm2
- golang-golang-x-net Ubuntu Pro 22.04 LTS 1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1~esm2
- golang-golang-x-net Ubuntu Pro 24.04 LTS 1:0.21.0+dfsg-1ubuntu0.1~esm2
- golang-golang-x-net-dev Ubuntu Pro 16.04 LTS 1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm2
- golang-golang-x-net-dev Ubuntu Pro 18.04 LTS 1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm2
ubuntu advisories UBUNTU-CVE-2025-22872
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- terraform-provider-aws SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 3.11.0-150200.6.18.1
- terraform-provider-tls SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 3.0.0-150200.5.15.1
- terraform-provider-helm SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 2.9.0-150200.6.23.1
- terraform-provider-null SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 3.0.0-150200.6.18.1
- terraform-provider-local SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 2.0.0-150200.6.17.1
- terraform-provider-google SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 3.43.0-150200.6.12.1
- terraform-provider-random SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 3.0.0-150200.6.15.1
- terraform-provider-azurerm SLE Module for Public Cloud 15 SP5, SLE Module for Public Cloud 15 SP4 2.32.0-150200.6.12.1
suse advisories SUSE-SU-2026:3056-1SUSE-SU-2026:2493-1SUSE-SU-2026:0439-1SUSE-SU-2026:20176-1SUSE-SU-2026:20244-1SUSE-SU-2026:20357-1
- kubectl-retina openSUSE Tumbleweed 1.3.1-1.1
- kumactl openSUSE Tumbleweed 3.0.0-1.1
- timoni openSUSE Tumbleweed 0.36.0-1.1
- kured openSUSE Tumbleweed 1.23.0-1.1
- containerized-data-importer1.65 openSUSE Leap 16.0 1.65.0-160000.3.1
- glab openSUSE Leap 16.0 1.114.0-bp160.1.1
- gitea-tea openSUSE Leap 16.0 0.15.1-bp160.1.1
- containerized-data-importer1.65 openSUSE Tumbleweed 1.65.0-2.1
opensuse advisories openSUSE-SU-2026:12297-1openSUSE-SU-2026:12300-1openSUSE-SU-2026:12309-1openSUSE-SU-2026:12271-1openSUSE-SU-2026:21824-1openSUSE-SU-2026:21662-1
- cni-plugins Azure Linux 3.0 1.4.0-3
- keda Azure Linux 3.0 2.14.1-7
- containerized-data-importer Azure Linux 3.0 1.57.0-14
- cri-tools Azure Linux 3.0 1.32.0-2
- docker-buildx Azure Linux 3.0 0.14.0-6
- cert-manager CBL-Mariner 2.0 1.11.2-23
- multus Azure Linux 3.0 4.0.2-5
- influxdb Azure Linux 3.0 2.7.5-5
azure linux advisories AZL-60447AZL-60450AZL-60458AZL-60459AZL-60467AZL-60472
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- go.dev/cl/662715 patch
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-22872 updated cvss 6.5
golang.org/x/net/html: Incorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net
-
Red Hat Assisted Installer for Red Hat OpenShift Container Platform 2 rhai-tech-preview/assisted-installer-rhel8, rhai-tech-preview/assisted-installer-agent-rhel8, rhai-tech-preview/assisted-installer-reporter-rhel8 Red Hat Builds for Red Hat OpenShift openshift-builds/openshift-builds-waiters-rhel9, openshift-builds/openshift-builds-webhook-rhel9, openshift-builds/openshift-builds-rhel9-operator, openshift-builds/openshift-builds-operator-bundle, openshift-builds/openshift-builds-controller-rhel9, openshift-builds/openshift-builds-git-cloner-rhel9, +4 more Red Hat cert-manager Operator for Red Hat OpenShift cert-manager/cert-manager-operator-rhel9, cert-manager/jetstack-cert-manager-rhel9, cert-manager/cert-manager-istio-csr-rhel9, cert-manager/jetstack-cert-manager-acmesolver-rhel9 Red Hat Cryostat 3 cryostat/cryostat-rhel8-operator, cryostat-tech-preview/cryostat-ose-oauth-proxy-rhel8 Red Hat Cryostat 4 cryostat/cryostat-rhel9-operator, cryostat/cryostat-ose-oauth-proxy-rhel9, cryostat/cryostat-grafana-dashboard-rhel9 Red Hat Custom Metric Autoscaler operator for Red Hat Openshift custom-metrics-autoscaler/custom-metrics-autoscaler-rhel8, custom-metrics-autoscaler/custom-metrics-autoscaler-adapter-rhel8, custom-metrics-autoscaler/custom-metrics-autoscaler-admission-webhooks-rhel8affected: workaround, no fix available “Fix deferred”
+29 more productsfewer
Red Hat Fence Agents Remediation Operator workload-availability/fence-agents-remediation-rhel8-operator, workload-availability/fence-agents-remediation-operator-bundle Red Hat Gatekeeper 3 gatekeeper/gatekeeper-rhel9-operator Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/logging-loki-rhel9, openshift-logging/lokistack-gateway-rhel9, openshift-logging/elasticsearch-proxy-rhel9, openshift-logging/elasticsearch-rhel9-operator, openshift-logging/cluster-logging-rhel9-operator Red Hat Logical Volume Manager Storage lvms4/lvms-rhel9-operator Red Hat Migration Toolkit for Applications 7 mta/mta-cli-rhel9, mta/mta-hub-rhel9, mta/mta-analyzer-addon-rhel9, mta/mta-discovery-addon-rhel9, mta/mta-java-external-provider-rhel9, mta/mta-generic-external-provider-rhel9 Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-controller-rhel8 Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-api-rhel9, migration-toolkit-virtualization/mtv-virt-v2v-rhel9, migration-toolkit-virtualization/mtv-controller-rhel9, migration-toolkit-virtualization/mtv-validation-rhel9, migration-toolkit-virtualization/mtv-rhv-populator-rhel8, migration-toolkit-virtualization/mtv-virt-v2v-warm-rhel8, +3 more Red Hat Multicluster Engine for Kubernetes multicluster-engine/agent-service-rhel8, multicluster-engine/assisted-service-8-rhel8, multicluster-engine/assisted-service-9-rhel9, multicluster-engine/image-based-install-rhel9, multicluster-engine/assisted-installer-reporter-rhel8 Red Hat Multicluster Global Hub multicluster-globalhub/multicluster-globalhub-agent-rhel9, multicluster-globalhub/multicluster-globalhub-grafana-rhel9, multicluster-globalhub/multicluster-globalhub-manager-rhel9, multicluster-globalhub/multicluster-globalhub-rhel9-operator, multicluster-globalhub/multicluster-globalhub-operator-bundle Red Hat NBDE Tang Server nbde-tang-server/nbde-tang-server-rhel9-operator, nbde-tang-server/nbde-tang-server-operator-bundle Red Hat Network Observability Operator network-observability/network-observability-cli-rhel9, network-observability/network-observability-rhel9-operator, network-observability/network-observability-operator-bundle, network-observability/network-observability-ebpf-agent-rhel9, network-observability/network-observability-flowlogs-pipeline-rhel9 Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-rhel8-operator, workload-availability/node-healthcheck-operator-bundle Red Hat Node Maintenance Operator workload-availability/node-maintenance-operator-bundle Red Hat OpenShift Developer Tools and Services odo, helm Red Hat OpenShift Pipelines openshift-pipelines-client Red Hat OpenShift Serverless kn-workflow-plugin, openshift-serverless-1/client-kn-rhel8, openshift-serverless-1/func-utils-rhel8, openshift-serverless-1/kn-plugin-func-func-util-rhel8 Red Hat OpenShift Service Mesh 2 openshift-service-mesh/kiali-rhel8, openshift-service-mesh/pilot-rhel8, openshift-service-mesh/proxyv2-rhel8, openshift-service-mesh/istio-cni-rhel8 Red Hat OpenShift Service Mesh 3 openshift-service-mesh/istio-proxyv2-rhel9, openshift-service-mesh/istio-rhel9-operator, openshift-service-mesh/istio-must-gather-rhel9 Red Hat 3scale API Management Platform 2 3scale-amp2/3scale-operator-bundle Red Hat Advanced Cluster Management for Kubernetes 2 flightctl, flightctl-agent, flightctl-selinux, rhacm2/subctl-rhel9, rhacm2/nettest-rhel9, rhacm2/volsync-rhel9, +28 more Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-roxctl-rhel8, advanced-cluster-security/rhacs-scanner-rhel8, advanced-cluster-security/rhacs-rhel8-operator, advanced-cluster-security/rhacs-central-db-rhel8, advanced-cluster-security/rhacs-scanner-db-rhel8, +4 more Red Hat Ansible Automation Platform 2 receptor Red Hat Ceph Storage 8 rhceph/oauth2-proxy-rhel9 Red Hat Edge Manager preview flightctl, rhacm2/acm-flightctl-api-rhel9, rhacm2/acm-flightctl-worker-rhel9, rhacm2/acm-flightctl-periodic-rhel9 Red Hat Enterprise Linux 8 podman, podman-tests, podman-docker, podman-remote, podman-gvproxy, podman-plugins, +6 more Red Hat Enterprise Linux 9 podman, grafana, podman-tests, podman-docker, podman-remote, podman-gvproxy, +9 more Red Hat Enterprise Linux 10 podman, grafana, gvisor-tap-vsock, osbuild-composer Red Hat OpenShift AI (RHOAI) rhoai/odh-rhel8-operator, rhoai/odh-kueue-controller-rhel8, rhoai/odh-model-controller-rhel8, rhoai/odh-training-operator-rhel8, rhoai/odh-codeflare-operator-rhel8, rhoai/odh-trustyai-service-operator-rhel8, +4 more Red Hat OpenShift Cluster Manager CLI ocm-cli-clients/ocm-cli-rhel9 -
Red Hat OpenShift Container Platform 4 cri-o, podman, cri-tools, openshift, microshift, podman-tests, +72 moreaffected: workaround, no fix available, no fix planned “Out of support scope”
-
Red Hat Openshift Data Foundation 4 odf4/cephcsi-rhel9, odf4/odf-cli-rhel9, odf4/mcg-rhel9-operator, odf4/ocs-rhel9-operator, odf4/odf-rhel9-operator, odf4/rook-ceph-rhel9-operator, +1 more Red Hat OpenShift Dev Spaces devspaces/udi-rhel8, devspaces/udi-rhel9, devspaces/udi-base-rhel9, devspaces/devspaces-rhel8-operator, devspaces/devspaces-rhel9-operator Red Hat OpenShift distributed tracing 3 rhosdt/tempo-rhel8, rhosdt/tempo-query-rhel8, rhosdt/tempo-gateway-rhel8, rhosdt/tempo-rhel8-operator, rhosdt/tempo-gateway-opa-rhel8, rhosdt/tempo-jaeger-query-rhel8, +3 more Red Hat OpenShift GitOps openshift-gitops-1/dex-rhel8, openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argocd-rhel9, openshift-gitops-1/argo-rollouts-rhel8, openshift-gitops-1/gitops-operator-bundleaffected: workaround, no fix available “Fix deferred”
5 more affected, 1 more fixed, 1 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | golang.org/x/net | <0.38.0 |
0.38.0 |
Affected products
- golang.org/x/net golang.org/x/net/html
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
go.dev
/cl/662715
web, patch
-
go.dev
/issue/73070
web, report
-
groups.google.com
/g/golang-announce/c/ezSKR9vqbqA
web
-
pkg.go.dev
/vuln/GO-2025-3595
web
- security.netapp.com /advisory/ntap-20250516-0007/
-
nvd.nist.gov
/vuln/detail/CVE-2025-22872
advisory
-
security.netapp.com
/advisory/ntap-20250516-0007
web
Sources
- CVE List CVE-2025-22872
- GitHub Advisory GHSA-vvgc-356p-c3xw
- NVD CVE-2025-22872
- OSV GO-2025-3595
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.