cve.bz

CVE-2026-25681 golang net

6.1 mediumEPSS 0.3%Fix available

Medium (6.1) in golang net. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/net 0.55.0.

On this page
Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-21. 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 2026-05-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1021 Improper Restriction of Rendered UI Layers or Frames
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-25681 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-25681?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-25681?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-2026-25681 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.55.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2026-5029Gogolang.org/x/net<0.55.00.55.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13golang-golang-x-netno fix listedDEBIAN-CVE-2026-25681
Debian14golang-golang-x-net1:0.55.0-1DEBIAN-CVE-2026-25681
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTSgolang-golang-x-net-devno fix listedUBUNTU-CVE-2026-25681
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 8 morecosign3.1.1-150400.3.45.1SUSE-SU-2026:2827-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morebuildah1.35.5-150400.3.68.1SUSE-SU-2026:2706-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Module for Containers 15 SP7 and 4 morebuildah1.35.5-150500.3.62.1SUSE-SU-2026:2733-1
SUSELinux Enterprise Module for Basesystem 15 SP7alloy1.17.1-150700.15.23.1SUSE-SU-2026:2824-1
SUSELinux Enterprise Module for Containers 15 SP7containerized-data-importer1.64.0-150700.9.14.1SUSE-SU-2026:4209-1
SUSELinux Enterprise Module for Containers 15 SP7kubevirt1.7.4-150700.3.30.1SUSE-SU-2026:3203-1
SUSELinux Enterprise Module for Containers 15 SP7kubevirt-1.61.6.6-150700.15.17.1SUSE-SU-2026:3630-1
SUSELinux Enterprise Module for Package Hub 15 SP7grafana12.4.5-150200.3.91.1SUSE-SU-2026:3718-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5terraform-provider-aws3.11.0-150200.6.18.1SUSE-SU-2026:3056-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5terraform-provider-azurerm2.32.0-150200.6.12.1SUSE-SU-2026:3056-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5terraform-provider-external2.0.0-150200.6.12.1SUSE-SU-2026:3056-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5terraform-provider-google3.43.0-150200.6.12.1SUSE-SU-2026:3056-1
33 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 16.0alloy1.17.0-160000.1.1openSUSE-SU-2026:21251-1
openSUSELeap 16.0containerized-data-importer1.651.65.0-160000.3.1openSUSE-SU-2026:21824-1
openSUSELeap 16.0cosign3.1.1-160000.1.1openSUSE-SU-2026:21281-1
openSUSELeap 16.0glab1.114.0-bp160.1.1openSUSE-SU-2026:21662-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSELeap 16.0grafana11.6.14+security04-bp160.2.1openSUSE-SU-2026:20984-1
openSUSELeap 16.0hauler2.0.1-bp160.1.1openSUSE-SU-2026:21262-1
openSUSELeap 16.0kubevirt1.81.8.4-160000.1.1openSUSE-SU-2026:21590-1
openSUSELeap 16.0lux0.24.1-bp160.1.1openSUSE-SU-2026:21367-1
openSUSELeap 16.0mcphost0.34.0-160000.2.1openSUSE-SU-2026:21120-1
openSUSELeap 16.0neonmodem1.0.7+git0.346d1d3-bp160.1.1openSUSE-SU-2026:20963-1
openSUSELeap 16.0rclone1.74.4-bp160.1.1openSUSE-SU-2026:21436-1
11 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux9grafana, grafana-selinux10.2.6-23.el9_8ALSA-2026:35828
AlmaLinux9opentelemetry-collector0.152.1-1.el9_8ALSA-2026:34359
AlmaLinux9osbuild-composer, osbuild-composer-core, osbuild-composer-worker165.1-5.el9_8.alma.1ALSA-2026:69293
AlmaLinux9podman, podman-tests, podman-docker and 2 more6:5.8.2-4.el9_8ALSA-2026:37123
AlmaLinux10grafana, grafana-selinux10.2.6-27.el10_2ALSA-2026:35827
AlmaLinux10opentelemetry-collector0.152.1-1.el10_2ALSA-2026:34357
AlmaLinux10osbuild-composer, osbuild-composer-core, osbuild-composer-worker165.1-5.el10_2.alma.1ALSA-2026:66432
Rocky Linux9image-builder0:52.1-2.el9_8RLSA-2026:67138
Rocky Linux9opentelemetry-collector0:0.152.1-1.el9_8RLSA-2026:34359
Rocky Linux9osbuild-composer0:165.1-5.el9_8.rocky.0.1RLSA-2026:69293
Rocky Linux9podman6:5.8.2-4.el9_8RLSA-2026:37123
Rocky Linux10image-builder0:52.1-2.el10_2.rocky.0.1RLSA-2026:67139
Rocky Linux10opentelemetry-collector0:0.152.1-1.el10_2RLSA-2026:34357
Rocky Linux10osbuild-composer0:165.1-5.el10_2.rocky.0.1RLSA-2026:66432
Rocky Linux10podman7:5.8.2-4.el10_2RLSA-2026:37072
Azure Linux3application-gateway-kubernetes-ingress1.7.7-5AZL-87378
Azure Linux3azl-otel-collectorno fix listedAZL-87158
Azure Linux3cert-manager1.12.15-9AZL-87435
Azure Linux3cf-cli8.7.11-7AZL-87480
Azure Linux3cloud-provider-kubevirt0.5.1-5AZL-87492
Azure Linux3cni-plugins1.4.0-6AZL-87516
Azure Linux3containerd22.2.4-4AZL-87540
Azure Linux3containerized-data-importer1.62.0-6AZL-87555
Azure Linux3cri-ono fix listedAZL-87221
Azure Linux3cri-tools1.32.0-6AZL-87585
Azure Linux3dasel2.8.1-4AZL-87600
Azure Linux3docker-buildx0.14.0-15AZL-87612
15 more for Azure Linux in the JSON.
Alpaquita23runc, podman, skopeo and 2 moreno fix listedBELL-CVE-2026-25681
Alpaquita25runc, podman, skopeo and 6 moreno fix listedBELL-CVE-2026-25681
Alpaquitastreametcd, helm, runc and 13 moreno fix listedBELL-CVE-2026-25681

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; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This Important vulnerability in `golang.org/x/net/html` could enable remote attackers to execute Cross-Site Scripting (XSS) attacks, potentially leading to arbitrary code execution. The flaw allows specially crafted HTML to bypass input sanitization during parsing and rendering. Red Hat products are affected if they process untrusted HTML content using the vulnerable component without additional output encoding or robust content security policies.

Red Hat's mitigation

To mitigate this flaw, applications processing untrusted HTML input must implement strict input sanitization and ensure all output is properly encoded before rendering. Deploying a comprehensive Content Security Policy (CSP) can restrict script execution, further reducing the attack surface. Administrators should review application configurations to ensure adequate protection against XSS.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-grafana-dashboard-rhel9:4.2.0-13Fixed 2026-07-29RHSA-2026:48151
Cryostat 4 on RHEL 9cryostat/cryostat-rhel9-operator:4.2.0-18Fixed 2026-07-29RHSA-2026:48151
Cryostat 4 on RHEL 9cryostat/cryostat-storage-rhel9:4.2.0-19Fixed 2026-07-29RHSA-2026:48151
Red Hat Ansible Automation Platform 2.5 for RHEL 8receptor-0:1.6.6-1.el8apFixed 2026-07-20RHSA-2026:42078
Red Hat Ansible Automation Platform 2.5 for RHEL 9receptor-0:1.6.6-1.el9apFixed 2026-07-20RHSA-2026:42078
Red Hat Ansible Automation Platform 2.6 for RHEL 10receptor-0:1.6.6-1.el10apFixed 2026-07-20RHSA-2026:42079
Red Hat Ansible Automation Platform 2.6 for RHEL 9receptor-0:1.6.6-1.el9apFixed 2026-07-20RHSA-2026:42079
Red Hat Enterprise Linux 10opentelemetry-collector-0:0.152.1-1.el10_2Fixed 2026-07-01RHSA-2026:34357
Red Hat Enterprise Linux 10grafana-0:10.2.6-27.el10_2Fixed 2026-07-06RHSA-2026:35827
Red Hat Enterprise Linux 10podman-7:5.8.2-4.el10_2Fixed 2026-07-09RHSA-2026:37072
Assisted Installer for Red Hat OpenShift Container Platform 2assisted/agent-preinstall-image-builder-rhel9Affected
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-agent-rhel9Affected
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-controller-rhel9Affected
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Affected
cert-manager Operator for Red Hat OpenShiftcert-manager/cert-manager-trust-manager-rhel9Affected
Compliance Operatorcompliance/openshift-compliance-operator-bundleAffected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9Will not fix
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-payload-rhel9Will not fix
Confidential Compute Attestationopenshift-sandboxed-containers/osc-rhel9-operatorWill not fix
Cryostat 4cryostat/cryostat-grafana-dashboard-rhel9Affected
704 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-2026-25681.

Attack patterns (CAPEC)

  • CAPEC-103 Clickjacking Likelihood: Medium · Severity: High
  • CAPEC-181 Flash File Overlay Severity: Medium
  • CAPEC-222 iFrame Overlay Likelihood: Medium · Severity: High
  • CAPEC-504 Task Impersonation Likelihood: Medium · Severity: High
  • CAPEC-506 Tapjacking Likelihood: Low · Severity: Low
  • CAPEC-587 Cross Frame Scripting (XFS) Severity: High
  • CAPEC-654 Credential Prompt Impersonation Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON