What’s Vulnerable › Vulnerabilities
CVE-2023-3978: Improper rendering of text nodes in golang.org/x/net/html
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-08-02 · updated 2026-06-17
- Weakness: CWE-79
Description
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.
Affected products
- Golang Networking: before 0.13.0 — fixed in 0.13.0
- Golang.Org/X/Net: before 0.13.0 — fixed in 0.13.0
How to fix
Upgrade to a fixed version: Golang Networking 0.13.0; Golang.Org/X/Net 0.13.0. Check the vendor advisory for mitigations.
References
- https://go.dev/cl/514896
- https://go.dev/issue/61615
- https://pkg.go.dev/vuln/GO-2023-1988
- https://go.dev/cl/514896
- https://go.dev/issue/61615
- https://pkg.go.dev/vuln/GO-2023-1988
Get alerted when CVE-2023-3978 or the next vulnerability affects your stack