{"id":"CVE-2023-29400","aliases":["CVE-2023-29400","GO-2023-1753","BIT-GOLANG-2023-29400"],"related":["CGA-7g62-qwvm-mvgp"],"kind":"vulnerability","state":"published","title":"Improper handling of empty HTML attributes in html/template","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-05-05T21:10:24.000Z","modified":"2026-09-08T08:47:48.423Z","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/59722","tags":["fix","issue-tracking","patch","report","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/cl/491617","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-1753","tags":["advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20241213-0005/","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29400","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:46:30.315Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-29400","url":"https://www.cve.org/CVERecord?id=CVE-2023-29400","licence":"CVE Terms of Use","modified":"2025-01-24T16:47:46.724Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1753","url":"https://pkg.go.dev/vuln/GO-2023-1753","licence":"CC-BY-4.0","modified":"2026-02-04T02:22:30.446Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-29400","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29400","licence":"Public domain","modified":"2026-06-17T05:49:57.937Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2023-29400","url":"https://osv.dev/vulnerability/BIT-GOLANG-2023-29400","licence":"Apache-2.0","modified":"2026-09-08T08:47:48.423Z"}],"updatedAt":"2026-11-25T22:58:24.101Z","epss":{"score":0.01086,"percentile":0.64905,"date":"2026-11-30T12:00:22.000Z"}}