CVE-2023-3978Golang Networking
Medium 6.1 No auth needed
Follow: this CVE · Golang · Golang Networking We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Networking.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| golang | networking | < 0.13.0 |
Official advisories
- Red Hat Security Advisory: container-tools:4.0 security and bug fix update · Red Hat · RHSA-2023:6938 · Oct 21, 2024 Medium
- Red Hat Security Advisory: container-tools:rhel8 security and bug fix update · Red Hat · RHSA-2023:6939 · Oct 21, 2024 Medium
- Red Hat Security Advisory: OpenShift Container Platform 4.14.0 security update · Red Hat · RHSA-2023:5009 · Oct 2, 2024 High
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.
- go.dev Patch
- go.dev Issue Tracking Patch Vendor Advisory
- pkg.go.dev Issue Tracking Patch Vendor Advisory