Errors returned from JSON marshaling may break template escaping in html/template
cve-program · 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 advisoryeuvd · EUVD-2024-22163
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 advisorynvd · 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 advisoryosv · GO-2024-2610
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
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2024-24785
PublishedErrors returned from JSON marshaling may break template escaping in html/template
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.
- Source published
- 5 Mar 2024 22:22:33 UTC
- Source modified
- 14 Mar 2025 00:55:26 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
euvd · EUVD-2024-22163
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 templa…
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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Mar 5, 2024, 10:22:33 PM
dateUpdated: Mar 14, 2025, 12:55:26 AM
38 related source bulletins · separate from aliases
openSUSE-SU-2024:13756-1: go1.21-1.21.8-1.1 on GA media
CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785
SUSE-SU-2024:0811-1: Security update for go1.21
CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785
RHSA-2024:0041: Red Hat Security Advisory: OpenShift Container Platform 4.16.0 bug fix and security update
CVE-2019-25210 · CVE-2023-45142 · CVE-2023-45289 · CVE-2023-47108 · CVE-2023-48795 · CVE-2023-49569 · CVE-2024-0874 · CVE-2024-22189 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-28110 · CVE-2024-28176 · CVE-2024-28180 · CVE-2024-28849 · CVE-2024-29180
RHSA-2024:4520: Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.7.16 security and bug fix update
CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-29180 · CVE-2024-30255
RHBA-2024:3470: Red Hat Bug Fix Advisory: MTV 2.6.2 Images
CVE-2023-45288 · CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785
WID-SEC-W-2024-1226: Red Hat OpenShift: Mehrere Schwachstellen
CVE-2020-26555 · CVE-2021-25220 · CVE-2021-29390 · CVE-2021-43618 · CVE-2022-0480 · CVE-2022-2795 · CVE-2022-3094 · CVE-2022-38096 · CVE-2022-40090 · CVE-2022-45934 · CVE-2022-48554 · CVE-2022-48624 · CVE-2023-24023 · CVE-2023-25193 · CVE-2023-25775 · CVE-2023-26159 · CVE-2023-26364 · CVE-2023-28322 · CVE-2023-28464 · CVE-2023-28866 · CVE-2023-2975 · CVE-2023-31083 · CVE-2023-31122 · CVE-2023-3446 · CVE-2023-3567 · CVE-2023-3618 · CVE-2023-37453 · CVE-2023-3817 · CVE-2023-38469 · CVE-2023-38470 · CVE-2023-38471 · CVE-2023-38472 · CVE-2023-38473 · CVE-2023-38546 · CVE-2023-39189 · CVE-2023-39193 · CVE-2023-39194 · CVE-2023-39198 · CVE-2023-39326 · CVE-2023-40745 · CVE-2023-41175 · CVE-2023-4133 · CVE-2023-42754 · CVE-2023-42756 · CVE-2023-43785 · CVE-2023-43786 · CVE-2023-43787 · CVE-2023-43788 · CVE-2023-43789 · CVE-2023-4408 · CVE-2023-45286 · CVE-2023-45287 · CVE-2023-45288 · CVE-2023-45289 · CVE-2023-45290 · CVE-2023-45857 · CVE-2023-45863 · CVE-2023-46218 · CVE-2023-46862 · CVE-2023-47038 · CVE-2023-48631 · CVE-2023-50387 · CVE-2023-50868 · CVE-2023-51043 · CVE-2023-51779 · CVE-2023-51780 · CVE-2023-52425 · CVE-2023-52434 · CVE-2023-52448 · CVE-2023-52476 · CVE-2023-52489 · CVE-2023-52522 · CVE-2023-52529 · CVE-2023-52574 · CVE-2023-52578 · CVE-2023-52580 · CVE-2023-52581 · CVE-2023-52597 · CVE-2023-52610 · CVE-2023-52620 · CVE-2023-5678 · CVE-2023-6040 · CVE-2023-6121 · CVE-2023-6129 · CVE-2023-6176 · CVE-2023-6228 · CVE-2023-6237 · CVE-2023-6240 · CVE-2023-6531 · CVE-2023-6546 · CVE-2023-6622 · CVE-2023-6915 · CVE-2023-6931 · CVE-2023-6932 · CVE-2023-7008 · CVE-2024-0565 · CVE-2024-0727 · CVE-2024-0841 · CVE-2024-1085 · CVE-2024-1086 · CVE-2024-1394 · CVE-2024-1488 · CVE-2024-21011 · CVE-2024-21012 · CVE-2024-21068 · CVE-2024-21085 · CVE-2024-21094 · CVE-2024-22365 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-25062 · CVE-2024-25742 · CVE-2024-25743 · CVE-2024-26582 · CVE-2024-26583 · CVE-2024-26584 · CVE-2024-26585 · CVE-2024-26586 · CVE-2024-26593 · CVE-2024-26602 · CVE-2024-26609 · CVE-2024-26633 · CVE-2024-27316 · CVE-2024-28834 · CVE-2024-28835 · CVE-2024-28849 · CVE-2024-29180 · CVE-2024-2961 · CVE-2024-33599 · CVE-2024-33600 · CVE-2024-33601 · CVE-2024-33602
RHSA-2024:2562: Red Hat Security Advisory: golang security update
CVE-2023-45288 · CVE-2023-45289 · CVE-2023-45290 · CVE-2024-1394 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785
RHSA-2024:3637: Red Hat Security Advisory: Secondary Scheduler Operator for Red Hat OpenShift 1.3.0 for RHEL 9
CVE-2023-45288 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24786
RHSA-2024:3790: Red Hat Security Advisory: OpenShift API for Data Protection (OADP) 1.3.2 security and bug fix update
CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785
RHSA-2024:2901: Red Hat Security Advisory: Custom Metrics Autoscaler Operator for Red Hat OpenShift 2.12.1-394 Security Update
CVE-2023-45288 · CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24785 · CVE-2024-24786
SUSE-SU-2024:3089-1: Security update for go1.21-openssl
CVE-2023-45288 · CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24787 · CVE-2024-24789 · CVE-2024-24790 · CVE-2024-24791
RHSA-2024:0045: Red Hat Security Advisory: OpenShift Container Platform 4.16.0 security update
CVE-2023-29483 · CVE-2023-45289 · CVE-2023-45290 · CVE-2024-3727 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-28176
SUSE-SU-2024:0936-1: Security update for go1.22
CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785
RHSA-2024:1616: Red Hat Security Advisory: Run Once Duration Override Operator for Red Hat OpenShift 1.1.1 for RHEL 9
CVE-2023-45288 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24786
RHSA-2024:4591: Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & bug fix update
CVE-2023-43646 · CVE-2023-47108 · CVE-2024-1394 · CVE-2024-5042 · CVE-2024-24783 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-28176 · CVE-2024-28180 · CVE-2024-28863 · CVE-2024-37890
RHSA-2024:6221: Red Hat Security Advisory: The Red Hat OpenShift Builds 1.1.0 General Availability
CVE-2023-45288 · CVE-2023-45290 · CVE-2023-49569 · CVE-2024-24783 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-24788
SUSE-SU-2024:3772-1: Security update for go1.22-openssl
CVE-2023-45288 · CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24787 · CVE-2024-24788 · CVE-2024-24789 · CVE-2024-24790 · CVE-2024-24791 · CVE-2024-34155 · CVE-2024-34156 · CVE-2024-34158
msrc_CVE-2024-24785: Errors returned from JSON marshaling may break template escaping in html/template
CVE-2024-24785
openSUSE-SU-2024:13752-1: go1.22-1.22.1-1.1 on GA media
CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785
RHSA-2025:9776: Red Hat Security Advisory: New RHCS 8.1 container image is now available in the Red Hat Ecosystem Catalog.
CVE-2022-23491 · CVE-2023-45290 · CVE-2024-6104 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-24788 · CVE-2024-24789 · CVE-2024-24790 · CVE-2024-24791 · CVE-2024-34155 · CVE-2024-34156
RHSA-2024:4023: Red Hat Security Advisory: Release of openshift-serverless-clients kn 1.33.0 security update & enhancements
CVE-2023-45288 · CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785
RHSA-2024:4893: Red Hat Security Advisory: rhc-worker-script security update
CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24785 · CVE-2024-24790
RHSA-2024:3259: Red Hat Security Advisory: go-toolset:rhel8 security update
CVE-2023-45288 · CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785
RHSA-2024:3621: Red Hat Security Advisory: Red Hat OpenShift distributed tracing 3.2.0 operator/operand containers update
CVE-2023-45286 · CVE-2023-45288 · CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24786
RHSA-2026:3428: Red Hat Security Advisory: container-tools:rhel8 security update
CVE-2024-24785 · CVE-2025-61729 · CVE-2025-65637
SUSE-SU-2024:0812-1: Security update for go1.22
CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785
SUSE-SU-2024:0800-1: Security update for go1.21
CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785
SUSE-SU-2024:3938-1: Security update for go1.22-openssl
CVE-2023-45288 · CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24787 · CVE-2024-24788 · CVE-2024-24789 · CVE-2024-24790 · CVE-2024-24791 · CVE-2024-34155 · CVE-2024-34156 · CVE-2024-34158
WID-SEC-W-2024-1474: Red Hat OpenShift Container Platform: Mehrere Schwachstellen
CVE-2019-25210 · CVE-2023-29483 · CVE-2023-45142 · CVE-2023-45289 · CVE-2023-45290 · CVE-2023-47108 · CVE-2023-48795 · CVE-2023-52425 · CVE-2024-0874 · CVE-2024-1394 · CVE-2024-22189 · CVE-2024-2398 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-28110 · CVE-2024-28176 · CVE-2024-28180 · CVE-2024-28757 · CVE-2024-28849 · CVE-2024-29180 · CVE-2024-3177 · CVE-2024-3727
RHSA-2024:3868: Red Hat Security Advisory: Network Observability 1.6.0 for OpenShift
CVE-2023-39326 · CVE-2023-42282 · CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-28849 · CVE-2024-29041 · CVE-2024-29180
SUSE-SU-2024:3755-1: Security update for go1.21-openssl
CVE-2023-45288 · CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24787 · CVE-2024-24789 · CVE-2024-24790 · CVE-2024-24791
RHSA-2024:2096: Red Hat Security Advisory: security update Logging for Red Hat OpenShift - 5.9.1
CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-28180
RHSA-2024:4028: Red Hat Security Advisory: Release of OpenShift Serverless 1.33.0 security update & enhancements
CVE-2023-45289 · CVE-2024-2700 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-28180 · CVE-2024-29025
RHSA-2024:9485: Red Hat Security Advisory: Control plane Operators for RHOSO 18.0.3 (Feature Release 1) security update
CVE-2023-45289 · CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24788 · CVE-2024-34155 · CVE-2024-34156
RHSA-2024:9135: Red Hat Security Advisory: toolbox security update
CVE-2023-45290 · CVE-2024-24785 · CVE-2024-24788 · CVE-2024-24791
WID-SEC-W-2024-0560: Golang Go: Mehrere Schwachstellen
CVE-2024-24784 · CVE-2024-24785
RHSA-2024:5013: Red Hat Security Advisory: The Red Hat OpenShift Builds Client 1.1.0 General Availability
CVE-2023-45288 · CVE-2023-45290 · CVE-2023-49569 · CVE-2024-24783 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-24788
RHSA-2024:3617: Red Hat Security Advisory: Kube Descheduler Operator for Red Hat OpenShift 5.0.1 for RHEL 9
CVE-2023-45290 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24786
- Source published
- Mar 5, 2024, 10:22:33 PM (timezone not stated)
- Source modified
- Mar 14, 2025, 12:55:26 AM (timezone not stated)
- Saved here
- 19 Nov 2026 03:25:48 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
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 templa…
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.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Original publisher date fields
published: 2024-03-05T23:15:07.777
lastModified: 2026-06-17T07:14:51.357
- Source published
- 5 Mar 2024 23:15:07 UTC
- Source modified
- 17 Jun 2026 07:14:51 UTC
- Saved here
- 24 Oct 2026 23:17:28 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0 · Secondary · 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
osv · GO-2024-2610
PublishedErrors returned from JSON marshaling may break template escaping in html/template
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.
- Source published
- 5 Mar 2024 22:15:40 UTC
- Source modified
- 4 Feb 2026 03:09:18 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.