Vulnerability in Go Standard Library Html/template
CVE-2024-24785
- CVSS v3
- 5.4 Medium
- Public exploits
- None known
- EPSS
- 0.008 · 57.0th percentile
- Published
- 2024-03-05
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.008, 57.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Go Standard Library Html/template — versions 0, 1.22.0-0
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (8-cm/kube-dump, drewtwitchell/scancompare, fkie-cad/nvd-json-data-feeds, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.