{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-24539","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","state":"PUBLISHED","assignerShortName":"Go","dateReserved":"2023-01-25T21:19:20.642Z","datePublished":"2023-05-11T15:29:38.143Z","dateUpdated":"2025-01-24T16:41:28.222Z"},"containers":{"cna":{"providerMetadata":{"orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","shortName":"Go","dateUpdated":"2023-06-12T19:08:23.986Z"},"title":"Improper sanitization of CSS values in html/template","descriptions":[{"lang":"en","value":"Angle brackets (<>) are not considered dangerous characters when inserted into CSS contexts. Templates containing multiple actions separated by a '/' character can result in unexpectedly closing the CSS context and allowing for injection of unexpected HTML, if executed with untrusted input."}],"affected":[{"vendor":"Go standard library","product":"html/template","collectionURL":"https://pkg.go.dev","packageName":"html/template","versions":[{"version":"0","lessThan":"1.19.9","status":"affected","versionType":"semver"},{"version":"1.20.0-0","lessThan":"1.20.4","status":"affected","versionType":"semver"}],"programRoutines":[{"name":"cssValueFilter"},{"name":"escaper.commit"},{"name":"Template.Execute"},{"name":"Template.ExecuteTemplate"}],"defaultStatus":"unaffected"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-74: Improper input validation"}]}],"references":[{"url":"https://go.dev/issue/59720"},{"url":"https://go.dev/cl/491615"},{"url":"https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU"},{"url":"https://pkg.go.dev/vuln/GO-2023-1751"}],"credits":[{"lang":"en","value":"Juho Nurminen of Mattermost"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://go.dev/issue/59720","tags":["x_transferred"]},{"url":"https://go.dev/cl/491615","tags":["x_transferred"]},{"url":"https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU","tags":["x_transferred"]},{"url":"https://pkg.go.dev/vuln/GO-2023-1751","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20241129-0005/"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-11-29T12:04:36.503Z"}},{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-94","lang":"en","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.3,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"LOW","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-01-24T16:39:35.722970Z","id":"CVE-2023-24539","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-01-24T16:41:28.222Z"}}]}}