CVE-2024-37843: cms · SQL Injection
Affects cmsSource CVE Database V5
Not known to be exploited · public detection template (Nuclei) · 53% EPSS · CVSS 7.5 High.
Data as of 26 Oct 2026, 12:54 UTC
- EPSS
- 53.2% chance of exploitation in 30 days – higher than 98% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Jun 2024
Detectable: evidence found.
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Packagistcraftcms/cmspkg:composer/craftcms/cmsOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-37843, organizations should immediately upgrade Craft CMS to a patched version once available from the vendor. In the absence of an official patch, administrators should restrict access to the GraphQL API endpoint by implementing network-level controls such as IP whitelisting, VPN access, or web application firewalls (WAF) with SQL injection detection and blocking capabilities. Input validation and sanitization should be enforced at the application layer to prevent malicious payloads from reaching the database. Monitoring and logging of GraphQL API requests should be enhanced to detect anomalous query patterns indicative of injection attempts. Additionally, organizations should conduct thorough security assessments and penetration testing focused on API endpoints. Regular backups of CMS data should be maintained to enable recovery in case of compromise. Finally, educating developers and administrators on secure coding practices and the risks of SQL injection can help prevent similar vulnerabilities in the future.
Description
Craft CMS up to v3.7.31 was discovered to contain a SQL injection vulnerability via the GraphQL API endpoint.