CVE-2024-37843 — Vulnerability in craftcms/cms — CVE Details
Craft CMS SQL injection vulnerability via the GraphQL API endpoint
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (9.07%). Schedule for your next planned update.
Does your project use an affected craftcms/cms version?
Paste your composer.lock to check it for CVE-2024-37843 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Craft CMS up to v3.7.31 was discovered to contain a SQL injection vulnerability via the GraphQL API endpoint.
Advisory Timeline
- First published June 25, 2024 (884 days ago).
- Last revised August 2, 2024 — 38 days after initial publication.
Affected Packages (1)
Affects 1 ecosystem: Packagist (1).
| Package | Fixed In |
|---|---|
| craftcms/cms Packagist · Affected: 1.0.26.1, 1.2.0-alpha.2310, 1.2.0-alpha.2312, 1.2.0-alpha.2316 (+746 more) | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2024-37843?
- Craft CMS SQL injection vulnerability via the GraphQL API endpoint. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2024-37843?
- CVE-2024-37843 affects craftcms/cms. It has a 9.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-37843 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 96% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2024-56145CRITICAL
Craft CMS has potential RCE when PHP `register_argc_argv` config setting is enabled
- CVE-2023-41892CRITICAL
Craft CMS Remote Code Execution vulnerability
- CVE-2026-72780CRITICAL
Craft CMS: Passkey login accepts replayed WebAuthn assertions
- CVE-2019-15929CRITICAL
Craft CMS possibility of brute force attempts
- CVE-2026-29069HIGH
Craft CMS has unauthenticated activation email trigger with potential user enumeration
- CVE-2026-25495HIGH
Craft CMS Vulnerable to SQL Injection in Element Indexes via `criteria[orderBy]`
- CVE-2026-72778HIGH
Craft CMS: Authenticated RCE via `condition.config` JSON cleanse bypass
- CVE-2025-68456HIGH
Unauthenticated Craft CMS users can trigger a database backup