Vulnerability in Go Standard Library Html/template
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.
EPSS: 0.008 (53.4th percentile) — read the EPSS interpretation.
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.
Affected products
- Go Standard Library Html/template — versions 0, 1.22.0-0
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2024-24785?
- CVE-2024-24785 is a medium-severity vulnerability in Go Standard Library Html/template, classified under CWE-150: IMPROPER NEUTRALIZATION OF ESCAPE, META, OR CONTROL SEQUENCES. CVSS score: 5.4/10. Published 2024-03-05.
- How severe is CVE-2024-24785?
- Medium severity. CVSS v3 base score is 5.4 out of 10.
- Is CVE-2024-24785 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.