RCE in Golang Go
CVE-2023-24539
Angle brackets (<>) are not considered dangerous characters when inserted into CSS contexts. Templates containing multiple actions separated by a '/' character can result in unexpectedly closing the CSS context and allowing for injection of unexpected HTML, if executed with untrusted input.
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/59720 (Patch, Issue Tracking)
- go.dev/cl/491615 (Patch)
- groups.google.com/g/golang-announce/c/MEb0UyuSMsU (Mailing List, Release Notes)
- pkg.go.dev/vuln/GO-2023-1751 (Vendor Advisory)
- security.netapp.com/advisory/ntap-20241129-0005/