CriticalGHSA-7v68-3pr5-h3cr
Drupal Core Insufficient Contextual Links validation leads to Remote Code Execution
Published 15 May 2024 · Updated 29 Nov 2024
Affected packages
drupal/coreComposer
- Affected
- >=8.0.0 <8.5.8
- Fixed in
- 8.5.8
Update to the fixed version for your release line, for example:
composer require drupal/core:^8.5.8drupal/coreComposer
- Affected
- >=8.6.0 <8.6.2
- Fixed in
- 8.6.2
Update to the fixed version for your release line, for example:
composer require drupal/core:^8.6.2Details
The Contextual Links module doesn't sufficiently validate the requested contextual links. This vulnerability is mitigated by the fact that an attacker must have a role with the permission "access contextual links".
Is GHSA-7v68-3pr5-h3cr 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
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.