Templates do not properly consider backticks (`) as Javascript string delimiters, and do not escape them as expected. Backticks are used, since ES6, for JS template literals. If a template contains a Go template action within a Javascript template literal, the contents of the action can be used to terminate the literal, injecting arbitrary Javascript code into the Go template. As ES6 template literals are rather complex, and themselves can do string interpolation, the decision was made to simply disallow Go template actions from being used inside of them (e.g. "var a = {{.}}"), since there is no obviously safe way to allow this behavior. This takes the same approach as github.com/google/safehtml. With fix, Template.Parse returns an Error when it encounters templates like this, with an ErrorCode of value 12. This ErrorCode is currently unexported, but will be exported in the release of Go 1.21. Users who rely on the previous behavior can re-enable it using the GODEBUG flag jstmpllitinterp=1, with the caveat that backticks will now be escaped. This should be used with caution.
CVE-2023-24538
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2023-04-06. NVD baseline CVSS 9.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8CRITICALmedium confidence
- EG Risk
- 45EG Risk 45/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation2% × 40%Automatability0% × 15%CISA SSVC: Track at low or medium mission impact; Track* at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 2.3%
- EPSS %ILE
- 82nd
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track* at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
April 6, 2023
Last Modified
February 12, 2025
Advisory Details (5)
Auto-updated Oct 10, 2026Go: Multiple Vulnerabilities (GLSA 202311-09) — Gentoo security
https://security.gentoo.org/glsa/202311-09html/template: backticks not treated as string delimiters (CVE-2023-24538) · Issue #59234 · golang/go · GitHub
https://go.dev/issue/59234Vendor Advisories for CVE-2023-24538(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2023-24538Microsoft Security Response Center (MSRC)Critical
Backticks not treated as string delimiters in html/template
- RHSA-2024:2944Red Hat Product SecurityHigh
Red Hat Security Advisory: AMQ Broker 7.12.0.OPR.1.GA Container Images release and security update
- RHSA-2024:0746Red Hat Product SecurityHigh
Red Hat Security Advisory: new container image: rhceph-5.3
- RHSA-2023:6939Red Hat Product SecurityMedium
Red Hat Security Advisory: container-tools:rhel8 security and bug fix update
- RHSA-2023:6938Red Hat Product SecurityMedium
Red Hat Security Advisory: container-tools:4.0 security and bug fix update
- RHSA-2023:6346Red Hat Product SecurityMedium
Red Hat Security Advisory: toolbox security and bug fix update
- RHSA-2023:6402Red Hat Product SecurityMedium
Red Hat Security Advisory: containernetworking-plugins security and bug fix update
- RHSA-2023:6474Red Hat Product SecurityMedium
Red Hat Security Advisory: podman security, bug fix, and enhancement update
- +12 more
Patch Availability(30)
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
(3 across 3 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| golang-1.15 | 1.15.15-1 ... 1.15.9-6 (10 versions) |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| golang-1.19 | — |
| — |
Go(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| stdlib | — |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(15)
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.
- Red HatRHSA-2023:3318MODERATE2023-04-04
RHSA-2023:3318 — Moderate
- Red HatRHSA-2023:3319MODERATE2023-04-04
RHSA-2023:3319 — Moderate
- Red HatRHSA-2023:3323MODERATE2023-04-04
RHSA-2023:3323 — Moderate
- Red HatRHSA-2023:3366MODERATE2023-04-04
RHSA-2023:3366 — Moderate
- Red HatRHSA-2023:3367MODERATE2023-04-04
RHSA-2023:3367 — Moderate
- Red HatRHSA-2023:3445MODERATE2023-04-04
RHSA-2023:3445 — Moderate
- Red HatRHSA-2023:3450MODERATE2023-04-04
RHSA-2023:3450 — Moderate
- Red HatRHSA-2023:3455MODERATE2023-04-04
RHSA-2023:3455 — Moderate
- Red HatRHSA-2023:3536MODERATE2023-04-04
RHSA-2023:3536 — Moderate
- Red HatRHSA-2023:3540MODERATE2023-04-04
RHSA-2023:3540 — Moderate
- Red HatRHSA-2023:3612MODERATE2023-04-04
RHSA-2023:3612 — Moderate
- Red HatRHSA-2023:3624MODERATE2023-04-04
RHSA-2023:3624 — Moderate
- Red HatRHSA-2023:3918MODERATE2023-04-04
RHSA-2023:3918 — Moderate
- Red HatRHSA-2023:3943MODERATE2023-04-04
RHSA-2023:3943 — Moderate
- Red HatRHSA-2023:4335MODERATE2023-04-04
RHSA-2023:4335 — Moderate
Data Freshness Timeline
(refreshed 6× in last 7d / 28× 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 189 total refreshes for this CVE.
- 2026-10-09 20:05 UTCEPSS rescore
- 2026-10-08 17:05 UTCEPSS rescore
- 2026-10-07 23:45 UTCEPSS rescore
- 2026-10-06 15:14 UTCEPSS rescore
- 2026-10-05 17:40 UTCEPSS rescore
- 2026-10-04 23:19 UTCEPSS rescore
- 2026-10-03 14:23 UTCEPSS rescore
- 2026-10-02 16:23 UTCEPSS rescore
- 2026-10-01 19:47 UTCEPSS rescore
- 2026-09-30 16:18 UTCEG score recompute
- 2026-09-30 15:01 UTCEPSS rescore
- 2026-09-29 15:16 UTCEPSS rescore
- 2026-09-26 15:55 UTCEPSS rescore
- 2026-09-26 00:22 UTCEPSS rescore
- 2026-09-24 14:01 UTCEPSS rescore
- 2026-09-23 16:04 UTCOSV refresh
- 2026-09-23 13:45 UTCEPSS rescore
- 2026-09-22 14:45 UTCEPSS rescore
- 2026-09-20 20:14 UTCEPSS rescore
- 2026-09-19 15:38 UTCEPSS rescore
- 2026-09-18 19:25 UTCEPSS rescore
- 2026-09-17 19:24 UTCEPSS rescore
- 2026-09-16 14:05 UTCEPSS rescore
- 2026-09-16 05:11 UTCEPSS rescore
- 2026-09-15 03:07 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-13 16:44 UTCEPSS rescore
- 2026-09-12 14:58 UTCEPSS rescore
- 2026-09-11 09:34 UTCEPSS rescore
- 2026-09-08 21:57 UTCEPSS rescore
- 2026-09-07 15:59 UTCEPSS rescore
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-04 13:58 UTCEPSS rescore
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-04 10:46 UTCOSV refresh
- 2026-09-04 05:04 UTCEPSS rescore
- 2026-09-02 14:09 UTCEPSS rescore
- 2026-09-01 13:51 UTCEPSS rescore
- 2026-08-30 19:15 UTCEPSS rescore
- 2026-08-30 01:19 UTCEPSS rescore
- 2026-08-28 21:38 UTCEPSS rescore
- 2026-08-27 14:22 UTCEPSS rescore
- 2026-08-26 14:43 UTCEPSS rescore
- 2026-08-25 13:46 UTCEPSS rescore
- 2026-08-24 14:14 UTCEPSS rescore
- 2026-08-23 00:17 UTCEPSS rescore
- 2026-08-21 23:46 UTCEPSS rescore
- 2026-08-20 22:53 UTCEPSS rescore
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-18 13:46 UTCEPSS rescore
- 2026-08-17 21:29 UTCOSV refresh
- 2026-08-17 13:44 UTCEPSS rescore
- 2026-08-16 14:53 UTCEPSS rescore
- 2026-08-16 02:12 UTCEPSS rescore
- 2026-08-15 01:28 UTCEPSS rescore
- 2026-08-15 01:27 UTCEPSS rescore
- 2026-08-13 21:58 UTCEPSS rescore
- 2026-08-12 13:48 UTCEPSS rescore
- 2026-08-09 13:44 UTCEPSS rescore
- 2026-08-08 16:34 UTCEPSS rescore
- 2026-08-07 16:24 UTCEPSS rescore
- 2026-08-06 13:44 UTCEPSS rescore
- 2026-08-05 19:15 UTCEPSS rescore
- 2026-08-04 15:07 UTCEPSS rescore
- 2026-08-04 10:35 UTCEPSS rescore
- 2026-08-03 10:34 UTCEPSS rescore
- 2026-08-02 16:57 UTCOSV refresh
- 2026-08-02 02:24 UTCEPSS rescore
- 2026-08-02 02:24 UTCEPSS rescore
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-28 15:34 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-25 14:16 UTCEPSS rescore
- 2026-07-25 14:16 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 02:19 UTCEG score recompute
- 2026-07-22 23:07 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-16 17:01 UTCEPSS rescore
- 2026-07-16 17:01 UTCEPSS rescore
- 2026-07-16 00:23 UTCOSV refresh
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownDebian:12:golang-1.19
Same vendor
10 shownredhat:RHBA-2023:6109 · redhat:RHSA-2023:3318 · redhat:RHSA-2023:6346
Same CWE
10 shownCWE-94
Frequently asked(5)
What is CVE-2023-24538?
When was CVE-2023-24538 disclosed?
Is CVE-2023-24538 actively exploited?
What is the CVSS score of CVE-2023-24538?
How do I remediate CVE-2023-24538?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2023-24538
Is Your Infrastructure Affected by CVE-2023-24538?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.