{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-39319","published":"2023-09-08T17:15:27.910000Z","last_modified":"2026-06-17T06:12:01.373000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","part":"a","vendor":"golang","product":"go","version_end_excluding":"1.20.8"},{"criteria":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","part":"a","vendor":"golang","product":"go","version_start_including":"1.21.0","version_end_excluding":"1.21.1"}],"cpes_truncated":false,"vendors":["golang"],"products":["golang/go"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00955,"percentile":0.60018,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2023-2043","ecosystem":"Go","name":"stdlib","purl":"pkg:golang/stdlib","ranges":[{"introduced":"0","fixed":"1.20.8"},{"introduced":"1.21.0-0","fixed":"1.21.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2023-39319/","html_en":"/en/cve/CVE-2023-39319/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-39319","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-39319"},"untrusted":{"vendor_name":"Golang","product_name":"Go","desc_en":"The html/template package does not apply the proper rules for handling occurrences of \"<script\", \"<!--\", and \"</script\" within JS literals in <script> contexts. This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to be improperly escaped. This could be leveraged to perform an XSS attack.","affected":[{"untrusted_vendor":"Go standard library","untrusted_product":"html/template","versions":[]}],"references":[{"url":"https://go.dev/cl/526157","tags":["Patch"]},{"url":"https://go.dev/issue/62197","tags":["Issue Tracking"]},{"url":"https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ","tags":["Release Notes"]},{"url":"https://pkg.go.dev/vuln/GO-2023-2043","tags":["Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/202311-09","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20231020-0009/","tags":["Third Party Advisory"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2023:6840","url":"https://access.redhat.com/errata/RHSA-2023:6840","published":"2024-10-02T11:32:48+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: OpenShift Container Platform 4.14.2 packages and security update"}},{"source":"redhat","id":"RHSA-2023:5009","url":"https://access.redhat.com/errata/RHSA-2023:5009","published":"2024-10-02T11:21:02+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: OpenShift Container Platform 4.14.0 security update"}}]}