cve.bz

CVE-2025-22872 golang.org/x/net golang.org/x/net/html

6.5 mediumEPSS 0.6%Fix available

Medium (6.5) in golang.org/x/net golang.org/x/net/html. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/net 0.38.0.

On this page
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).

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
EPSS
0.6% (unchanged from 0.6% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 47th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-22872 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-22872?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-22872?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-22872 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
golang.org/x/net/htmlbefore 0.38.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vvgc-356p-c3xwGogolang.org/x/net<0.38.00.38.0
GO-2025-3595Gogolang.org/x/net<0.38.00.38.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-golang-x-netno fix listedDEBIAN-CVE-2025-22872
Debian13, 14golang-golang-x-net1:0.27.0-2DEBIAN-CVE-2025-22872
Ubuntu22.04:LTSgolang-golang-x-net1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1UBUNTU-CVE-2025-22872 USN-8900-1
UbuntuPro:16.04:LTSgolang-golang-x-net-dev1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm2UBUNTU-CVE-2025-22872
UbuntuPro:16.04:LTSjuju-core2.3.7-0ubuntu0.16.04.1+esm2UBUNTU-CVE-2025-22872
UbuntuPro:16.04:LTSlxd2.0.11-0ubuntu1~16.04.4+esm2UBUNTU-CVE-2025-22872
UbuntuPro:18.04:LTSgolang-golang-x-net-dev1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm2UBUNTU-CVE-2025-22872
UbuntuPro:18.04:LTSlxd3.0.3-0ubuntu1~18.04.2+esm2UBUNTU-CVE-2025-22872
UbuntuPro:20.04:LTSgolang-golang-x-net-dev1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm2UBUNTU-CVE-2025-22872
UbuntuPro:22.04:LTSgolang-golang-x-net1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1~esm2UBUNTU-CVE-2025-22872 USN-8089-1
UbuntuPro:24.04:LTSgolang-golang-x-net1:0.21.0+dfsg-1ubuntu0.1~esm2UBUNTU-CVE-2025-22872 USN-8089-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 moredocker28.2.2_ce-150000.227.1SUSE-SU-2025:02289-2
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 moredocker-stable24.0.9_ce-150000.1.22.1SUSE-SU-2025:02289-2
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 5 morekubernetes1.231.23.17-150300.7.12.1SUSE-SU-2025:02423-2
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 6 morekubernetes1.281.28.13-150400.9.14.1SUSE-SU-2025:02350-2
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morekubernetes1.261.26.15-150400.9.22.1SUSE-SU-2025:02383-2
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 morekubernetes1.231.23.17-150500.3.21.1SUSE-SU-2025:01940-2
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 5 moredocker28.2.2_ce-150000.227.1SUSE-SU-2025:02289-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Containers 15 SP6, Linux Enterprise Module for Containers 15 SP7 and 2 morehelm3.18.3-150000.1.50.1SUSE-SU-2025:02121-1
SUSELinux Enterprise Module for Containers 15 SP6kubernetes1.251.25.16-150400.9.22.1SUSE-SU-2025:02351-1
SUSELinux Enterprise Module for Containers 15 SP6kubernetes1.261.26.15-150400.9.22.1SUSE-SU-2025:02383-1
SUSELinux Enterprise Module for Containers 15 SP6kubernetes1.271.27.16-150400.9.16.1SUSE-SU-2025:02336-1
SUSELinux Enterprise Module for Containers 15 SP6kubernetes1.281.28.13-150400.9.14.1SUSE-SU-2025:02350-1
39 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6apptainer1.4.5-150600.4.12.1SUSE-SU-2026:0439-1
openSUSELeap 15.6docker28.2.2_ce-150000.227.1SUSE-SU-2025:02289-1
openSUSELeap 15.6docker-stable24.0.9_ce-150000.1.22.1SUSE-SU-2025:02289-1
openSUSELeap 15.6grafana11.5.5-150200.3.72.2SUSE-SU-2025:01991-1
openSUSELeap 15.6helm3.18.3-150000.1.50.1SUSE-SU-2025:02121-1
openSUSELeap 15.6kubernetes-old1.31.9-150600.13.10.1SUSE-SU-2025:01945-1
openSUSELeap 15.6kubernetes1.231.23.17-150500.3.21.1SUSE-SU-2025:01940-1
openSUSELeap 15.6kubernetes1.241.24.17-150500.3.28.1SUSE-SU-2025:01941-1
openSUSELeap 15.6kubernetes1.251.25.16-150400.9.22.1SUSE-SU-2025:02351-1
openSUSELeap 15.6kubernetes1.261.26.15-150400.9.22.1SUSE-SU-2025:02383-1
openSUSELeap 15.6kubernetes1.271.27.16-150400.9.16.1SUSE-SU-2025:02336-1
openSUSELeap 15.6kubevirt1.4.1-150600.5.24.1SUSE-SU-2025:03278-1
40 more for openSUSE in the JSON and on openSUSE's page.
Azure Linux2cert-manager1.11.2-23AZL-60472
Azure Linux2cni-plugins1.3.0-8AZL-60502
Azure Linux2cri-tools1.29.0-8AZL-60586
Azure Linux2helm3.14.2-6AZL-60565
Azure Linux2kubernetes1.28.4-18AZL-60505
Azure Linux2kubevirt0.59.0-28AZL-60580
Azure Linux2multus4.0.2-8AZL-60568
Azure Linux2nvidia-container-toolkit1.17.8-3AZL-65664
Azure Linux2packer1.9.5-13AZL-60604
Azure Linux2podmanno fix listedAZL-60510
Azure Linux2sriov-network-device-plugin3.6.2-9AZL-60601
Azure Linux2telegraf1.29.4-16AZL-60588
27 more for Azure Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Cluster Observability Operator 1.5cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9:1782840519Fixed 2026-07-01RHSA-2026:34342
Cluster Observability Operator 1.5cluster-observability-operator/logging-console-plugin-pf4-rhel9:1782839279Fixed 2026-07-01RHSA-2026:34342
Cluster Observability Operator 1.5cluster-observability-operator/logging-console-plugin-pf5-rhel9:1782840539Fixed 2026-07-01RHSA-2026:34342
Cluster Observability Operator 1.5cluster-observability-operator/monitoring-console-plugin-pf5-rhel9:1782844225Fixed 2026-07-01RHSA-2026:34342
Cluster Observability Operator 1.5cluster-observability-operator/monitoring-console-plugin-pf6-rhel9:1782839658Fixed 2026-07-01RHSA-2026:34342
Cluster Observability Operator 1.5cluster-observability-operator/monitoring-console-plugin-rhel9:1782838476Fixed 2026-07-01RHSA-2026:34342
Assisted Installer for Red Hat OpenShift Container Platform 2rhai-tech-preview/assisted-installer-agent-rhel8Fix deferred
Assisted Installer for Red Hat OpenShift Container Platform 2rhai-tech-preview/assisted-installer-reporter-rhel8Fix deferred
Assisted Installer for Red Hat OpenShift Container Platform 2rhai-tech-preview/assisted-installer-rhel8Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-controller-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-git-cloner-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-bundler-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-processing-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-operator-bundleFix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-rhel9-operatorFix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-shared-resource-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-shared-resource-webhook-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel9Fix deferred
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-webhook-rhel9Fix deferred
cert-manager Operator for Red Hat OpenShiftcert-manager/cert-manager-istio-csr-rhel9Fix deferred
272 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-22872.

References

Check your stackJSON