{"schema_version":"1.9.0","id":"BIT-golang-2023-24539","published":"2024-03-06T10:56:20.094Z","modified":"2026-09-08T08:47:48.490405948Z","aliases":["CVE-2023-24539","GO-2023-1751"],"summary":"Improper sanitization of CSS values in html/template","details":"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":[{"package":{"name":"golang","ecosystem":"Bitnami","purl":"pkg:bitnami/golang"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.19.9"},{"introduced":"1.20.0"},{"fixed":"1.20.4"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2023-24539.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}],"references":[{"type":"FIX","url":"https://go.dev/cl/491615"},{"type":"FIX","url":"https://go.dev/issue/59720"},{"type":"DISCUSSION","url":"https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2023-1751"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20241129-0005/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-24539"}],"database_specific":{"cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"],"severity":"High"}}