{"id":"CVE-2024-37843","published":"2024-06-25T00:00:00Z","modified":"2024-08-02T03:57:39Z","title":"Craft CMS up to v3.7.31 was discovered to contain a SQL injection vulnerability via the GraphQL API endpoint","vendor":null,"product":null,"tier":"tail","description":{"text":"Craft CMS up to v3.7.31 was discovered to contain a SQL injection vulnerability via the GraphQL API endpoint.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.09073,"percentile":0.96031,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://blog.smithsecurity.biz/craft-cms-unauthenticated-sqli-via-graphql","tags":[]}],"priority":{"score":29.5,"factors":[{"name":"EPSS percentile","points":19.21},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-06-18","earliestUrl":"https://github.com/gsmith257-cyber/CVE-2024-37843-POC","repos":[{"name":"gsmith257-cyber/CVE-2024-37843-POC","url":"https://github.com/gsmith257-cyber/CVE-2024-37843-POC","stars":4,"created":"2024-06-18"}]},"nuclei":[{"id":"CVE-2024-37843","name":"Craft CMS <=v3.7.31 - SQL Injection","severity":"critical","path":"http/cves/2024/CVE-2024-37843.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-37843.yaml"}],"first":{"date":"2024-06-18","source":"PoC-in-GitHub","url":"https://github.com/gsmith257-cyber/CVE-2024-37843-POC"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-07-12T22:53:54.269128Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"craftcms/cms","vulnerableRanges":["<=3.7.31"],"patched":[],"from":["GHSA-hq4f-mv3q-8wcv"],"provenance":"source"}],"summary":{"text":"Craft CMS up to v3.7.31 contains a SQL injection flaw in its GraphQL API endpoint, where input is not properly neutralised before being used in SQL commands. An attacker with network access and no authentication or user interaction can exploit it to read data from the backing database.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:35:18Z"},"euvd":{"id":"EUVD-2024-2074","exploited":false,"provenance":"source"}}