Back
CVE-2023-3978
Improper rendering of text nodes in golang.org/x/net/html
Medium6.1EPSS 0.85%
- Published
- Updated
- Reserved
- Assigned by
- Go
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.
Timeline
ID reserved
By Go
- 6 days later
· 6 days later
Published
- 14 months later
· 14 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.85% · top 42% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-79 (opens in a new tab)All about CWE-79 and its CVEs
Affected products
golang.org/x/net · golang.org/x/net/html
- affected < 0.13.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogolang.org/x/netGHSA-2wrh-6pvc-2jm9 (opens in a new tab)
References (3)
- https://go.dev/issue/61615 (opens in a new tab)x_transferred
- https://go.dev/cl/514896 (opens in a new tab)x_transferred
- https://pkg.go.dev/vuln/GO-2023-1988 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-2wrh-6pvc-2jm9 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-3978)Record last updated .