VULNERABILITY INTELLIGENCE

CVE-2024-24785

CVSS score5.4 MEDIUM
EPSS probability0.80%
CISA KEVNot currently listed
Published2024-03-05
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Description

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.

Primary references