Drupal Core Remote Code Execution Vulnerability
Published 23 Apr 2024 · Updated 10 Dec 2025
Affected packages
- Affected
- >=7.0 <7.59
- Fixed in
- 7.59
composer require drupal/core:^7.59- Affected
- >=8.0 <8.4.8
- Fixed in
- 8.4.8
composer require drupal/core:^8.4.8- Affected
- >=8.5 <8.5.3
- Fixed in
- 8.5.3
composer require drupal/core:^8.5.3- Affected
- >=7.0 <7.59
- Fixed in
- 7.59
composer require drupal/drupal:^7.59- Affected
- >=8.0 <8.4.8
- Fixed in
- 8.4.8
composer require drupal/drupal:^8.4.8- Affected
- >=8.5 <8.5.3
- Fixed in
- 8.5.3
composer require drupal/drupal:^8.5.3Details
A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. This potentially allows attackers to exploit multiple attack vectors on a Drupal site, which could result in the site being compromised. This vulnerability is related to Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-002. Both SA-CORE-2018-002 and this vulnerability are being exploited in the wild.
Is GHSA-297x-j9pm-xjgg in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected drupal/core, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2018-7602
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-7602.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-7602.yaml
- Packagegithub.com/drupal/core
- Linklists.debian.org/debian-lts-announce/2018/04/msg00030.html
- Linkwww.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602
- Linkwww.debian.org/security/2018/dsa-4180
- Linkwww.drupal.org/sa-core-2018-004
- Linkwww.exploit-db.com/exploits/44542
- Linkwww.exploit-db.com/exploits/44557
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.