{"schema_version":"1.9.0","id":"BIT-golang-2023-29400","published":"2024-03-06T10:55:58.472Z","modified":"2026-09-08T08:47:48.423147472Z","aliases":["CVE-2023-29400","GO-2023-1753"],"summary":"Improper handling of empty HTML attributes in html/template","details":"Templates containing actions in unquoted HTML attributes (e.g. \"attr={{.}}\") executed with empty input can result in output with unexpected results when parsed due to HTML normalization rules. This may allow injection of arbitrary attributes into tags.","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-29400.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/491617"},{"type":"FIX","url":"https://go.dev/issue/59722"},{"type":"DISCUSSION","url":"https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2023-1753"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20241213-0005/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29400"}],"database_specific":{"cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"],"severity":"High"}}