{"cve":{"cve_id":"CVE-2023-39318","is_kev":false,"kev_date_added":null,"kev_vendor_project":null,"kev_product":null,"kev_vulnerability_name":null,"kev_short_description":null,"kev_required_action":null,"kev_due_date":null,"kev_known_ransomware":null,"kev_notes":null,"kev_cwes":null,"epss_score":0.00815,"epss_percentile":0.54419,"epss_as_of":"2026-08-26","description":"The html/template package does not properly handle HTML-like \"\" comment tokens, nor hashbang \"#!\" comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.","published_at":"2023-09-08T16:13:24.063000Z","last_modified_at":null,"cvss_v3_score":null,"cvss_v3_vector":null,"cvss_v3_severity":null,"cvss_v4_score":null,"cvss_v4_vector":null,"cvss_v4_severity":null,"ssvc_decision":null,"ssvc_exploitation":"none","ssvc_automatable":false,"ssvc_technical_impact":"partial","cwes":null,"nvd_references":["https://go.dev/issue/62196","https://go.dev/cl/526156","https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ","https://pkg.go.dev/vuln/GO-2023-2041","https://security.netapp.com/advisory/ntap-20231020-0009/","https://security.gentoo.org/glsa/202311-09"],"vuln_status":null,"trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-06-24T00:09:39.878444Z","updated_at":"2026-06-29T01:34:40.382541Z"},"effective_severity":null,"badges":[],"impact_analysis":[],"cvss_v3_decoded":{"version":null,"metrics":[]},"cvss_v4_decoded":{"version":null,"metrics":[]},"affected":[{"vendor_slug":"go-standard-library","vendor_name":"Go standard library","product_slug":"html-template","product_name":"html/template","version_start":"0","version_start_inclusive":true,"version_end":"1.20.8","version_end_inclusive":false,"cpe23_uri":"cve5:go-standard-library:html-template:0:1.20.8"},{"vendor_slug":"go-standard-library","vendor_name":"Go standard library","product_slug":"html-template","product_name":"html/template","version_start":"1.21.0-0","version_start_inclusive":true,"version_end":"1.21.1","version_end_inclusive":false,"cpe23_uri":"cve5:go-standard-library:html-template:1.21.0-0:1.21.1"}],"exploit_refs":[],"news":[],"references":[{"url":"https://go.dev/issue/62196","source_type":"MISC","tags":[]},{"url":"https://go.dev/cl/526156","source_type":"MISC","tags":[]},{"url":"https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ","source_type":"MISC","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2023-2041","source_type":"MISC","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20231020-0009/","source_type":"MISC","tags":[]},{"url":"https://security.gentoo.org/glsa/202311-09","source_type":"MISC","tags":[]}],"timeline":[{"type":"published","at":"2023-09-08T16:13:24.063000Z","label":"CVE published","source":null},{"type":"ssvc_changed","at":"2026-06-29T01:34:40.382541Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-06-29T01:34:40.382541Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-06-29T01:34:40.382541Z","label":"SSVC decision revised","source":"vulnrichment"}]}