Vulnerability Details : 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.
Products affected by CVE-2023-24539
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-24539
0.07%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 21 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-24539
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.3
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
3.9
|
3.4
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2025-01-24 |
7.3
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
3.9
|
3.4
|
NIST |
CWE ids for CVE-2023-24539
-
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.Assigned by:
- nvd@nist.gov (Primary)
- security@golang.org (Secondary)
-
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.Assigned by: 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
References for CVE-2023-24539
-
https://go.dev/cl/491615
html/template: disallow angle brackets in CSS values (491615) · Gerrit Code ReviewPatch
-
https://go.dev/issue/59720
html/template: improper sanitization of CSS values · Issue #59720 · golang/go · GitHubIssue Tracking;Patch
-
https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU
[security] Go 1.20.4 and Go 1.19.9 are releasedMailing List;Release Notes
-
https://security.netapp.com/advisory/ntap-20241129-0005/
CVE-2023-24539 Golang Vulnerability in NetApp Products | NetApp Product Security
-
https://pkg.go.dev/vuln/GO-2023-1751
GO-2023-1751 - Go PackagesVendor Advisory
Jump to