CVE-2024-24785
Errors returned from JSON marshaling may break template escaping in html/template
Vexday Risk Score
13Low
SSVC decision (CISA)
Track
No exploitation signal → monitor
CVSS 5.4EPSS 0.8%KEV nãoPoC —Nuclei —Metasploit —Patch —
Lifecycle
05 Mar 2024Published on NVD
Recommendation: Monitor — no exploitation signal at the moment.
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.
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/templateWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →