{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-29400","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","state":"PUBLISHED","assignerShortName":"Go","dateReserved":"2023-04-05T19:36:35.042Z","datePublished":"2023-05-11T15:29:24.874Z","dateUpdated":"2025-01-24T16:47:46.724Z"},"containers":{"cna":{"providerMetadata":{"orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","shortName":"Go","dateUpdated":"2023-06-12T19:08:27.799Z"},"title":"Improper handling of empty HTML attributes in html/template","descriptions":[{"lang":"en","value":"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":[{"vendor":"Go standard library","product":"html/template","collectionURL":"https://pkg.go.dev","packageName":"html/template","versions":[{"version":"0","lessThan":"1.19.9","status":"affected","versionType":"semver"},{"version":"1.20.0-0","lessThan":"1.20.4","status":"affected","versionType":"semver"}],"programRoutines":[{"name":"appendCmd"},{"name":"htmlNospaceEscaper"},{"name":"Template.Execute"},{"name":"Template.ExecuteTemplate"}],"defaultStatus":"unaffected"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-74: Improper input validation"}]}],"references":[{"url":"https://go.dev/issue/59722"},{"url":"https://go.dev/cl/491617"},{"url":"https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU"},{"url":"https://pkg.go.dev/vuln/GO-2023-1753"}],"credits":[{"lang":"en","value":"Juho Nurminen of Mattermost"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://go.dev/issue/59722","tags":["x_transferred"]},{"url":"https://go.dev/cl/491617","tags":["x_transferred"]},{"url":"https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU","tags":["x_transferred"]},{"url":"https://pkg.go.dev/vuln/GO-2023-1753","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20241213-0005/"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-12-13T13:09:23.252Z"}},{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-94","lang":"en","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.3,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"LOW","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-01-24T16:46:30.315646Z","id":"CVE-2023-29400","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-01-24T16:47:46.724Z"}}]}}