cve.bz

CVE-2023-3978 golang networking: Cross-site Scripting

6.1 mediumEPSS 0.9%Fix available

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

On this page
Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS attack.

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.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th 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 2024-09-27. 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-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

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

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2wrh-6pvc-2jm9Gogolang.org/x/net<0.13.00.13.0
GO-2023-1988Gogolang.org/x/net<0.13.00.13.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-golang-x-netno fix listedDEBIAN-CVE-2023-3978
Debian13, 14golang-golang-x-net1:0.14.0-1DEBIAN-CVE-2023-3978
Ubuntu22.04:LTSgolang-golang-x-net1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1UBUNTU-CVE-2023-3978 USN-8900-1
UbuntuPro:16.04:LTSgolang-golang-x-net-dev1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm2UBUNTU-CVE-2023-3978
UbuntuPro:16.04:LTSjuju-core2.3.7-0ubuntu0.16.04.1+esm2UBUNTU-CVE-2023-3978
UbuntuPro:16.04:LTSlxd2.0.11-0ubuntu1~16.04.4+esm2UBUNTU-CVE-2023-3978
UbuntuPro:18.04:LTSgolang-golang-x-net-dev1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm2UBUNTU-CVE-2023-3978
UbuntuPro:18.04:LTSlxd3.0.3-0ubuntu1~18.04.2+esm2UBUNTU-CVE-2023-3978
UbuntuPro:20.04:LTSadsys0.9.2~20.04.2ubuntu0.1+esm1UBUNTU-CVE-2023-3978
UbuntuPro:20.04:LTSgolang-golang-x-net-dev1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm2UBUNTU-CVE-2023-3978
UbuntuPro:22.04:LTSgolang-golang-x-net1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1~esm2UBUNTU-CVE-2023-3978 USN-8089-1
UbuntuPro:24.04:LTSgolang-golang-x-net1:0.21.0+dfsg-1ubuntu0.1~esm2USN-8089-1
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.24.6-7.module+el8.9.0+19784+443be299RHSA-2023:6938
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.31.3-1.module+el8.9.0+19761+326da906RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcockpit-podman0:46-1.module+el8.9.0+19098+6e7a5e3fRHSA-2023:6938
Red Hatenterprise_linux:8::appstreamcockpit-podman0:75-1.module+el8.9.0+19761+326da906RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource2:2.1.4-2.module+el8.9.0+19098+6e7a5e3fRHSA-2023:6938
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.8-1.module+el8.9.0+19761+326da906RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.205.0-3.module+el8.9.0+19098+6e7a5e3fRHSA-2023:6938
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.221.0-1.module+el8.9.0+19685+019f3589RHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.1.1-5.module+el8.9.0+19784+443be299RHSA-2023:6938
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.3.0-4.module+el8.9.0+19649+5879504aRHSA-2023:6939
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-38.module+el8.9.0+19098+6e7a5e3fRHSA-2023:6938
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-54.module+el8.9.0+19761+326da906RHSA-2023:6939
130 more for Red Hat in the JSON and on Red Hat's page.
SUSEEL-9:Update:Products:ManagerTools:Updategolang1.20.12-1.3.1SUSE-SU-2024:4019-1
SUSEEL-9:Update:Products:ManagerTools:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSgolang-github-lusitaniae-apache_exporter1.0.8-1.14.1SUSE-SU-2024:4019-1
SUSEEL-9:Update:Products:ManagerTools:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSscap-security-guide0.1.74-1.29.1SUSE-SU-2024:4019-1
SUSEEL-9:Update:Products:ManagerTools:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSspacecmd5.0.10-1.41.1SUSE-SU-2024:4019-1
SUSEEL-9:Update:Products:ManagerTools:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSuyuni-tools0.1.23-1.11.1SUSE-SU-2024:4019-1
SUSELinux Enterprise Module for Package Hub 15 SP5, Linux Enterprise Module for Package Hub 15 SP6golang-github-prometheus-promu0.16.0-150000.3.21.4SUSE-SU-2024:4011-1
SUSEManager Client Tools 12golang-github-lusitaniae-apache_exporter1.0.8-1.24.3SUSE-SU-2024:4010-1
SUSEManager Client Tools 12golang-github-prometheus-promu0.16.0-1.21.3SUSE-SU-2024:4010-1
SUSEManager Client Tools 12mgr-daemon4.3.11-1.53.2SUSE-SU-2024:4010-1
SUSEManager Client Tools 12spacecmd5.0.10-38.150.2SUSE-SU-2024:4010-1
SUSEManager Client Tools 12spacewalk-client-tools4.3.21-52.104.2SUSE-SU-2024:4010-1
SUSEManager Client Tools 12uyuni-common-libs5.0.5-1.45.2SUSE-SU-2024:4010-1
11 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5, Leap 15.6golang-github-lusitaniae-apache_exporter1.0.8-150000.1.23.3SUSE-SU-2024:4011-1
openSUSELeap 15.5, Leap 15.6golang-github-prometheus-promu0.16.0-150000.3.21.4SUSE-SU-2024:4011-1
openSUSELeap 15.5, Leap 15.6spacecmd5.0.10-150000.3.127.3SUSE-SU-2024:4011-1
openSUSELeap 15.5, Leap 15.6wire0.6.0-150000.1.17.4SUSE-SU-2024:4011-1
openSUSETumbleweedgolang-github-lusitaniae-apache_exporter1.0.8-1.1openSUSE-SU-2024:14218-1
AlmaLinux8aardvark-dns2:1.7.0-1.module_el8.9.0+3657+d86e192fALSA-2023:6939
AlmaLinux8buildah, buildah-tests1:1.24.6-7.module_el8.9.0+3627+db8ec155ALSA-2023:6938
AlmaLinux8buildah, buildah-tests1:1.31.3-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8cockpit-podman46-1.module_el8.7.0+3344+5bcd850fALSA-2023:6938
AlmaLinux8cockpit-podman75-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8conmon2:2.1.4-2.module_el8.9.0+3627+db8ec155ALSA-2023:6938
AlmaLinux8conmon3:2.1.8-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8container-selinux2:2.205.0-3.module_el8.9.0+3627+db8ec155ALSA-2023:6938
AlmaLinux8container-selinux2:2.221.0-1.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8containernetworking-plugins1:1.1.1-5.module_el8.9.0+3627+db8ec155ALSA-2023:6938
AlmaLinux8containernetworking-plugins1:1.3.0-4.module_el8.9.0+3643+9234dc3bALSA-2023:6939
AlmaLinux8containers-common2:1-38.module_el8.9.0+3627+db8ec155ALSA-2023:6938
30 more for AlmaLinux in the JSON.
Rocky Linux8buildah1:1.24.6-7.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8cockpit-podman0:46-1.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8conmon2:2.1.4-2.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8container-selinux2:2.205.0-3.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8containernetworking-plugins1:1.1.1-5.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8containers-common2:1-38.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8criu0:3.15-3.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8crun0:1.8.3-1.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8fuse-overlayfs0:1.9-2.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8libslirp0:4.4.0-1.module+el8.9.0+1445+07728297RLSA-2023:6938 RLSA-2023:6939
Rocky Linux8oci-seccomp-bpf-hook0:1.2.5-2.module+el8.9.0+1445+07728297RLSA-2023:6938
Rocky Linux8podman2:4.0.2-24.module+el8.9.0+1445+07728297RLSA-2023:6938
4 more for Rocky Linux in the JSON.
Azure Linux2cert-manager1.11.2-14AZL-27810
Azure Linux2cni-plugins1.3.0-6AZL-31690
Azure Linux2kubevirt0.59.0-24AZL-27813
Azure Linux2multus4.0.2-5AZL-31858
Azure Linux2packer1.9.5-3AZL-33331
Azure Linux2podmanno fix listedAZL-43555
Azure Linux2telegraf1.27.4-1AZL-27831
Azure Linux2vitess17.0.7-1AZL-27818
Azure Linux3application-gateway-kubernetes-ingress1.7.7-1AZL-34542
Azure Linux3cert-manager1.12.12-1AZL-34582
Azure Linux3containerized-data-importer1.57.0-12AZL-34624
Azure Linux3kubevirt1.2.0-1AZL-34907
5 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; Red Hat Security Data © Red Hat, Inc., CC BY 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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Cryostat 2 on RHEL 8cryostat-tech-preview/cryostat-rhel8-operator:2.3.1-11Fixed 2023-10-23RHSA-2023:6031
LVMS-4.14-RHEL-9lvms4/lvms-must-gather-rhel9:v4.14.1-3Fixed 2023-11-09RHBA-2023:6863
LVMS-4.14-RHEL-9lvms4/lvms-operator-bundle:v4.14.1-4Fixed 2023-11-09RHBA-2023:6863
LVMS-4.14-RHEL-9lvms4/lvms-rhel9-operator:v4.14.1-3Fixed 2023-11-09RHBA-2023:6863
LVMS-4.14-RHEL-9lvms4/topolvm-rhel9:v4.14.1-2Fixed 2023-11-09RHBA-2023:6863
Migration Toolkit for Virtualization 2.4migration-toolkit-virtualization/mtv-rhel8-operator:2.4.3-3Fixed 2023-10-25RHBA-2023:6109
Red Hat Enterprise Linux 8container-tools:4.0-8090020230828093056.e7857ab1Fixed 2023-11-14RHSA-2023:6938
Red Hat Enterprise Linux 8container-tools:rhel8-8090020230825121312.e7857ab1Fixed 2023-11-14RHSA-2023:6939
Red Hat Enterprise Linux 9podman-2:4.6.1-5.el9Fixed 2023-11-07RHSA-2023:6474
Red Hat Migration Toolkit for Containers 1.7rhmtc/openshift-migration-controller-rhel8:v1.7.13-4Fixed 2023-10-19RHSA-2023:5888
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel8-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-proxy-rhel8Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-rhel8-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/lokistack-gateway-rhel8Not affected
OpenShift API for Data Protectionoadp/oadp-rhel8-operatorWill not fix
OpenShift API for Data Protectionoadp/oadp-velero-rhel9Will not fix
OpenShift Developer Tools and ServicesodoFix deferred
OpenShift Pipelinesopenshift-pipelines-clientAffected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/subctl-rhel9Affected
127 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-2023-3978.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

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

References

Check your stackJSON