Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. drupal/core
  4. ›
  5. CVE-2024-11942

CVE-2024-11942: Drupal core vulnerable to improper error handling

December 5, 2024

Under certain uncommon site configurations, a bug in the CKEditor 5 module can cause some image uploads to move the entire webroot to a different location on the file system. This could be exploited by a malicious user to take down a site.

The issue is mitigated by the fact that several non-default site configurations must exist simultaneously for this to occur.

References

  • github.com/advisories/GHSA-52jr-x6h6-xj6g
  • github.com/drupal/core
  • nvd.nist.gov/vuln/detail/CVE-2024-11942
  • www.drupal.org/sa-core-2024-002

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 10.0.0 before 10.2.10

Fixed versions

  • 10.2.10

Solution

Upgrade to version 10.2.10 or above.

Impact 5.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-390: Detection of Error Condition Without Action

Source file

packagist/drupal/core/CVE-2024-11942.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:25 +0000.