RCE in Golang Go
CVE-2023-29400
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.010, 64.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Go Standard Library Html/template — versions 0, 1.20.0-0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 6 other repositories (11notes/docker-paperless-ngx, 8-cm/kube-dump, drewtwitchell/scancompare, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- go.dev/issue/59722 (Patch, Issue Tracking)
- go.dev/cl/491617 (Patch)
- groups.google.com/g/golang-announce/c/MEb0UyuSMsU (Mailing List, Release Notes)
- pkg.go.dev/vuln/GO-2023-1753 (Vendor Advisory)
- security.netapp.com/advisory/ntap-20241213-0005/