MediumGHSA-cfh2-7f6h-3m85BIT-drupal-2022-25278CVE-2022-25278DRUPAL-CORE-2022-013
Access bypass in Drupal Core
Published 24 Apr 2023 · Updated 10 Dec 2025
Affected packages
drupal/coreComposer
- Affected
- >=8.0.0 <9.3.19
- Fixed in
- 9.3.19
Update to the fixed version for your release line, for example:
composer require drupal/core:^9.3.19drupal/coreComposer
- Affected
- >=9.4.0 <9.4.3
- Fixed in
- 9.4.3
Update to the fixed version for your release line, for example:
composer require drupal/core:^9.4.3Details
Drupal core form API evaluates form element access incorrectly. This can lead to a user being able to alter data they should not have access to.
Is GHSA-cfh2-7f6h-3m85 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.