Live threats

All CVEs / Golang

CVE-2023-3978Golang Networking

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.9%
probability of exploitation in 30 days · percentile 56
Auth required
No
Published
Aug 2, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Networking.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go golang.org/x/net < 0.13.0 0.13.0 go get golang.org/x/net@v0.13.0
Go golang.org/x/net < 0.13.0 0.13.0 go get golang.org/x/net@v0.13.0

Per OSV / GitHub Advisories (GHSA-2wrh-6pvc-2jm9, GO-2023-1988). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golangnetworking< 0.13.0

Official advisories

Also: Red Hat (+1)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.