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.
CVE-2024-24785
Score 5.4 from GitHub Security Advisory published 2024-03-06. NVD baseline CVSS 5.4; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.4
- EG Score
- 5.4(medium)
- EPSS
- 52.1%
- KEV
- Not listed
Published
March 5, 2024
Last Modified
April 15, 2026
References (12)
- security@golanghttp://www.openwall.com/lists/oss-security/2024/03/08/4
- security@golanghttps://go.dev/cl/564196
- security@golanghttps://go.dev/issue/65697
- security@golanghttps://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
- security@golanghttps://pkg.go.dev/vuln/GO-2024-2610
- security@golanghttps://security.netapp.com/advisory/ntap-20240329-0008/
- af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2024/03/08/4
- af854a3a-2127-422b-91ae-364da2661108https://go.dev/cl/564196
- af854a3a-2127-422b-91ae-364da2661108https://go.dev/issue/65697
- af854a3a-2127-422b-91ae-364da2661108https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
- af854a3a-2127-422b-91ae-364da2661108https://pkg.go.dev/vuln/GO-2024-2610
- af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20240329-0008/
Vendor Advisories for CVE-2024-24785(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:3428Red Hat Product SecurityHigh
Red Hat Security Advisory: container-tools:rhel8 security update
- RHSA-2025:9776Red Hat Product SecurityHigh
Red Hat Security Advisory: New RHCS 8.1 container image is now available in the Red Hat Ecosystem Catalog.
- RHSA-2024:9485Red Hat Product SecurityHigh
Red Hat Security Advisory: Control plane Operators for RHOSO 18.0.3 (Feature Release 1) security update
- RHSA-2024:9135Red Hat Product SecurityMedium
Red Hat Security Advisory: toolbox security update
- RHSA-2024:6221Red Hat Product SecurityCritical
Red Hat Security Advisory: The Red Hat OpenShift Builds 1.1.0 General Availability
- RHSA-2024:5013Red Hat Product SecurityCritical
Red Hat Security Advisory: The Red Hat OpenShift Builds Client 1.1.0 General Availability
- RHSA-2024:4893Red Hat Product SecurityMedium
Red Hat Security Advisory: rhc-worker-script security update
- RHSA-2024:4591Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & bug fix update
- +12 more
Patch Availability(26)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| stdlib | — | 1.22.1 | — |
Additional Vendor Advisories
(5)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2024-247852025-09-04
Errors returned from JSON marshaling may break template escaping in html/template
- Red HatRHSA-2024:2096MODERATE2024-03-05
RHSA-2024:2096 — Moderate
- Red HatRHSA-2024:2562MODERATE2024-03-05
RHSA-2024:2562 — Moderate
- Red HatRHSA-2024:3259MODERATE2024-03-05
RHSA-2024:3259 — Moderate
- UbuntuUSN-6886-1MEDIUM
Go vulnerabilities
Data Freshness Timeline
(refreshed 10× in last 7d / 47× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 107 total refreshes for this CVE.
- 2026-07-11 09:52 UTCOSV refresh
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:29 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 16:35 UTCOSV refresh
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-14 23:16 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 22:17 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 03:39 UTCOSV refresh
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 04:34 UTCEG score recompute
- 2026-05-22 04:34 UTCVendor advisory
- 2026-05-22 04:34 UTCGHSA enrichment
- 2026-05-21 22:42 UTCEPSS rescore
- 2026-05-21 22:42 UTCEPSS rescore
- 2026-05-21 19:36 UTCOSV refresh
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
Frequently asked(5)
What is CVE-2024-24785?
When was CVE-2024-24785 disclosed?
Is CVE-2024-24785 actively exploited?
What is the CVSS score of CVE-2024-24785?
How do I remediate CVE-2024-24785?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-24785
Is Your Infrastructure Affected by CVE-2024-24785?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.