{"id":"CVE-2023-3978","summary":"Improper rendering of text nodes in golang.org/x/net/html","details":"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.","aliases":["GHSA-2wrh-6pvc-2jm9","GO-2023-1988"],"modified":"2026-08-12T03:30:35.880308142Z","published":"2023-08-02T19:48:56.676Z","related":["ALSA-2023:6474","ALSA-2023:6938","ALSA-2023:6939","SUSE-EL-9-CLIENT-TOOLS-2024-4019","SUSE-SU-2024:4010-1","SUSE-SU-2024:4011-1","SUSE-SU-2024:4019-1","openSUSE-SU-2024:14218-1"],"database_specific":{"unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"0.13.0"}]}],"cna_assigner":"Go","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3978.json"},"references":[{"type":"WEB","url":"https://go.dev/cl/514896"},{"type":"WEB","url":"https://go.dev/issue/61615"},{"type":"WEB","url":"https://pkg.go.dev"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2023-1988"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3978.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3978"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/golang/net","events":[{"introduced":"0"},{"fixed":"8ffa475fbdb33da97e8bf79cc5791ee8751fca5e"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.13.0"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:golang:networking:*:*:*:*:*:go:*:*"}}],"versions":["v0.12.0","v0.11.0","v0.10.0","v0.9.0","v0.8.0","v0.7.0","v0.4.0","v0.6.0","v0.5.0","v0.3.0","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3978.json"}}],"schema_version":"1.9.0"}