{"id":"AZL-37293","summary":"CVE-2023-39319 affecting package golang for versions less than 1.21.6-1","details":"The html/template package does not apply the proper rules for handling occurrences of \"\u003cscript\", \"\u003c!--\", and \"\u003c/script\" within JS literals in \u003cscript\u003e 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.","modified":"2026-04-01T05:12:28.009495Z","published":"2023-09-08T17:15:27Z","upstream":["CVE-2023-39319"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39319"}],"affected":[{"package":{"name":"golang","ecosystem":"Azure Linux:2","purl":"pkg:rpm/azure-linux/golang"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.18.0"},{"fixed":"1.21.6-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-37293.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}