CVE-2024-3187 in Embedthis Goahead
This issue tracks two CWE-416 Use After Free (UAF) and one CWE-415 Double Free vulnerabilities in Goahead versions <= 6.0.0. These are caused by JST values not being nulled when freed during parsing of JST templates. If the ME_GOAHEAD_JAVASCRIPT flag is enabled, a remote attacker with the privileges to modify JavaSc...
Affects 1 product from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Embedthis | Goahead | ≤ 6.0.0 |
| Goahead | — | — |
| Javascript | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
This issue tracks two CWE-416 Use After Free (UAF) and one CWE-415 Double Free vulnerabilities in Goahead versions <= 6.0.0. These are caused by JST values not being nulled when freed during parsing of JST templates. If the ME_GOAHEAD_JAVASCRIPT flag is enabled, a remote attacker with the privileges to modify JavaScript template (JST) files could exploit this by providing malicious templates. This may lead to memory corruption, potentially causing a Denial of Service (DoS) or, in rare cases, code execution, though the latter is highly context-dependent.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-3187 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-200398-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H |
| Published | 2024-10-17 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-415: CWE-415
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
Goahead versions <= 6.0.0 are vulnerable to two Use After Free (UAF) and one Double Free vulnerabilities due to improper handling of JST values during parsing of JST templates when the ME_GOAHEAD_JAVASCRIPT flag is enabled.
A remote attacker with the ability to modify JavaScript template (JST) files can exploit these vulnerabilities by providing malicious templates, potentially leading to arbitrary code execution or denial of service.
Questions
What is CVE-2024-3187?
Goahead versions <= 6.0.0 are vulnerable to two Use After Free (UAF) and one Double Free vulnerabilities due to improper handling of JST values during parsing of JST templates when the ME_GOAHEAD_JAVASCRIPT flag is enabled.
What is the CVSS score for CVE-2024-3187?
CVE-2024-3187 has CVSS 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H. EPSS: 0.8%.
Is CVE-2024-3187 actively exploited?
No confirmed active exploitation of CVE-2024-3187 as of 2026-09-25.
How do I remediate CVE-2024-3187?
Priority: HIGH.
What systems are affected by CVE-2024-3187?
CVE-2024-3187 affects Embedthis Goahead; Goahead; Javascript.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Embedthis","product":"Goahead","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.