ADVISORIES

Vulnerability

CVE-2024-24785

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.

728 advisories report this vulnerability, across 15 ecosystems.

Advisories in Azure Linux

  • AZL-37457

    CVE-2024-24785 affecting package golang for versions less than 1.21.6-1

    CVE-2024-24785 Azure Linux Updated 21 April 2026
  • AZL-37460

    CVE-2024-24785 affecting package golang for versions less than 1.21.6-1

    CVE-2024-24785 Azure Linux Updated 21 April 2026
  • AZL-79024

    CVE-2024-24785 affecting package golang 1.26.11-1

    CVE-2024-24785 Azure Linux Updated 25 November 2026
  • AZL-98967

    CVE-2024-24785 affecting package golang 1.27.1-1

    CVE-2024-24785 Azure Linux Updated 16 September 2026

References