CVE-2023-29400: high-severity vulnerability in Go standard library html/template
Improper handling of empty HTML attributes in html/template
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.3epss 1.0%
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Affected products
Go standard library · html/templateRelated CVEs — Go standard library html/template
In the same product, most dangerous first.
CVE-2023-24538CRITICALBackticks not treated as string delimiters in html/templateEPSS 2.3%CVE-2023-24540CRITICALImproper handling of JavaScript whitespace in html/templateEPSS 1.6%CVE-2023-24539HIGHImproper sanitization of CSS values in html/templateEPSS 1.0%CVE-2023-39318—Improper handling of HTML-like comments in script contexts in html/templateEPSS 0.9%CVE-2023-39319—Improper handling of special tags within script contexts in html/templateEPSS 0.9%CVE-2024-24785MEDIUMErrors returned from JSON marshaling may break template escaping in html/templateEPSS 0.8%