← back
CVE-2024-24785medium

Errors returned from JSON marshaling may break template escaping in html/template

13Vexday Risk Score

No sign of exploitation. No public exploitation artifact known so far.

ssvc Trackcvss 5.4epss 0.8%
exploitation probability
0.8%top 45% of all CVEs
observed exploitation
nono source reports it
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