Cache poisoning in drupal/core
Published 28 Sept 2023 · Updated 10 Dec 2025
Affected packages
- Affected
- >=8.7.0 <9.5.11
- Fixed in
- 9.5.11
composer require drupal/core:^9.5.11- Affected
- >=10.0.0 <10.0.11
- Fixed in
- 10.0.11
composer require drupal/core:^10.0.11- Affected
- >=10.1.0 <10.1.4
- Fixed in
- 10.1.4
composer require drupal/core:^10.1.4Details
In certain scenarios, Drupal's JSON:API module will output error backtraces. With some configurations, this may cause sensitive information to be cached and made available to anonymous users, leading to privilege escalation.
This vulnerability only affects sites with the JSON:API module enabled, and can be mitigated by uninstalling JSON:API.
The core REST and contributed GraphQL modules are not affected.
Is GHSA-rjqg-3h9m-fx5x 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-2023-5256
- Linkgithub.com/drupal/core/commit/1cd2741c2b43f6ad1bdfc121b8d9ec3b87e70742
- Linkgithub.com/drupal/core/commit/5495dc530e3acd056478245bfe1828210c6da7dc
- Linkgithub.com/drupal/core/commit/d4fe67562ee3ea0d9ecb9672d2945d94c5633d24
- Packagegithub.com/drupal/core
- Linkwww.drupal.org/sa-core-2023-006
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.