CVE-2023-3978
MEDIUM 6.1CVSS 3.1Improper rendering of text nodes in golang.org/x/net/html
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.
- Published
- 2 Aug 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security@golang.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-2wrh-6pvc-2jm9GO-2023-1988
- Sources
- NVDJSONOSV GHSA-2wrh-6pvc-2jm9JSONOSV GO-2023-1988JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | networkingcpe:2.3:a:golang:networking:*:*:*:*:*:go:*:* |
< 0.13.0 | 0.13.0 |
| OSV | Go | golang.org/x/net | < 0.13.0 | 0.13.0 |
References
- https://go.dev/cl/514896 · Patch, WEB, FIX
- https://go.dev/issue/61615 · Issue Tracking, Patch, Vendor Advisory, WEB, REPORT
- https://pkg.go.dev/vuln/GO-2023-1988 · Issue Tracking, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-3978 · ADVISORY
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 2 Aug 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Aug 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Aug 2023)