Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. CVE-2024-37843

CVE-2024-37843: Craft CMS SQL injection vulnerability via the GraphQL API endpoint

June 25, 2024 (updated August 2, 2024)

Craft CMS up to v3.7.31 was discovered to contain a SQL injection vulnerability via the GraphQL API endpoint.

References

  • blog.smithsecurity.biz/craft-cms-unauthenticated-sqli-via-graphql
  • github.com/advisories/GHSA-hq4f-mv3q-8wcv
  • github.com/craftcms/cms
  • nvd.nist.gov/vuln/detail/CVE-2024-37843

Code Behaviors & Features

Detect and mitigate CVE-2024-37843 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.7.31

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/craftcms/cms/CVE-2024-37843.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:08 +0000.