CVE-2024-24785
Errors returned from JSON marshaling may break template escaping in html/template
Medium · published March 5, 2024
What it is
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.
The record
Technical detail
- CVSS v3.1
- 5.4 · MEDIUM
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- CVSS v4.0
- Not supplied
- EPSS
- 0.00795 · 56.0th percentile
- Published
- 2024-03-05T22:22Z
EPSS history
Timeline