Vulnerability Details : CVE-2024-24785
If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates.
Products affected by CVE-2024-24785
Please log in to view affected product information.
Exploit prediction scoring system (EPSS) score for CVE-2024-24785
0.15%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 37 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2024-24785
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
2.8
|
2.5
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2025-03-14 |
References for CVE-2024-24785
-
https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
[security] Go 1.22.1 and Go 1.21.8 are released
-
http://www.openwall.com/lists/oss-security/2024/03/08/4
oss-security - 5 CVEs fixed in Go 1.22.1 and Go 1.21.8, 1 CVE fixed in google.golang.org/protobuf
-
https://pkg.go.dev/vuln/GO-2024-2610
GO-2024-2610 - Go Packages
-
https://go.dev/cl/564196
html/template: escape additional tokens in MarshalJSON errors (564196) · Gerrit Code Review
-
https://go.dev/issue/65697
html/template: errors returned from MarshalJSON are not correctly escaped · Issue #65697 · golang/go · GitHub
-
https://security.netapp.com/advisory/ntap-20240329-0008/
CVE-2024-24785 Golang Vulnerability in NetApp Products | NetApp Product Security
Jump to