{"id":"CVE-2023-29400","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.","aliases":["BIT-golang-2023-29400","GO-2023-1753"],"modified":"2026-05-15T04:06:47.866188421Z","published":"2023-05-11T15:29:24.874Z","related":["ALSA-2023:6346","ALSA-2023:6363","ALSA-2023:6402","ALSA-2023:6473","ALSA-2023:6474","ALSA-2023:6938","ALSA-2023:6939","CGA-7g62-qwvm-mvgp","SUSE-SU-2023:2105-1","SUSE-SU-2023:2105-2","SUSE-SU-2023:2127-1","openSUSE-SU-2024:12907-1","openSUSE-SU-2024:12908-1"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"fixed":"1.19.9"},{"introduced":"1.20.0-0"},{"fixed":"1.20.4"}],"source":"AFFECTED_FIELD"}],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/29xxx/CVE-2023-29400.json","cna_assigner":"Go"},"references":[{"type":"WEB","url":"https://go.dev/cl/491617"},{"type":"WEB","url":"https://go.dev/issue/59722"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU"},{"type":"WEB","url":"https://pkg.go.dev"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2023-1753"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/29xxx/CVE-2023-29400.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29400"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20241213-0005/"}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}