{"id":"CVE-2023-24539","aliases":["CVE-2023-24539","GO-2023-1751","BIT-GOLANG-2023-24539"],"related":["CGA-fh88-rpf7-h83h"],"kind":"vulnerability","state":"published","title":"Improper sanitization of CSS values in html/template","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-05-05T21:10:20.000Z","modified":"2026-09-08T08:47:48.490Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-74","CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.19.9","status":"affected"},{"type":"semver","introduced":"1.20.0-0","fixed":"1.20.4","status":"affected"}],"vendor":"Go standard library","product":"html/template","package":"html/template","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.19.9"},{"type":"semver","introduced":"1.20.0-0","status":"affected","fixed":"1.20.4"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"status":"affected","fixed":"1.19.9"},{"status":"affected","introduced":"1.20.0","fixed":"1.20.4"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.19.9"},{"type":"semver","introduced":"1.20.0","status":"affected","fixed":"1.20.4"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://go.dev/issue/59720","tags":["fix","issue-tracking","patch","report","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/cl/491615","tags":["fix","patch","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU","tags":["discussion","mailing-list","release-notes","web","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2023-1751","tags":["advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20241129-0005/","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-24539","tags":["web"],"sources":["bitnami"]}],"credits":["Juho Nurminen of Mattermost"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-01-24T16:39:35.722Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-24539","url":"https://www.cve.org/CVERecord?id=CVE-2023-24539","licence":"CVE Terms of Use","modified":"2025-01-24T16:41:28.222Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1751","url":"https://pkg.go.dev/vuln/GO-2023-1751","licence":"CC-BY-4.0","modified":"2026-02-04T04:31:56.779Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-24539","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-24539","licence":"Public domain","modified":"2026-06-17T05:39:29.840Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2023-24539","url":"https://osv.dev/vulnerability/BIT-GOLANG-2023-24539","licence":"Apache-2.0","modified":"2026-09-08T08:47:48.490Z"}],"updatedAt":"2026-11-25T22:58:24.100Z","epss":{"score":0.01029,"percentile":0.64615,"date":"2026-12-01T12:00:22.000Z"}}