If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the…
Historical advisory recorded 24 Oct 2026 23:17:28 UTC. Read the latest advisory.
nvd · CVE-2024-24785
PublishedIf 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2024-24785 · CVE overview and exploitation status
nvd · CVE-2024-24785
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.