CVE-2023-5256
HIGH 7.5CVSS 3.1Cache poisoning in drupal/core
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.
- Published
- 28 Sep 2023
- Last modified
- 19 Sep 2026
- Assigned by
- mlhess@drupal.org
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- BIT-drupal-2023-5256DRUPAL-CORE-2023-006GHSA-rjqg-3h9m-fx5x
- Sources
- NVDJSONOSV DRUPAL-CORE-2023-006JSONOSV GHSA-rjqg-3h9m-fx5xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 8.7.0, < 9.5.11 | 9.5.11 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 10.0.0, < 10.0.11 | 10.0.11 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 10.1.0, < 10.1.4 | 10.1.4 |
| OSV | Packagist | drupal/core | >= 8.7.0, < 9.5.11; >= 10.0.0, < 10.0.11; >= 10.1.0, < 10.1.4 | 9.5.11, 10.0.11, 10.1.4 |
| OSV | Packagist | drupal/core | >= 8.7.0, < 9.5.11 | 9.5.11 |
| OSV | Packagist | drupal/core | >= 10.0.0, < 10.0.11 | 10.0.11 |
| OSV | Packagist | drupal/core | >= 10.1.0, < 10.1.4 | 10.1.4 |
References
- https://www.drupal.org/sa-core-2023-006 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-5256 · ADVISORY
- https://github.com/drupal/core/commit/1cd2741c2b43f6ad1bdfc121b8d9ec3b87e70742 · WEB
- https://github.com/drupal/core/commit/5495dc530e3acd056478245bfe1828210c6da7dc · WEB
- https://github.com/drupal/core/commit/d4fe67562ee3ea0d9ecb9672d2945d94c5633d24 · WEB
- https://github.com/drupal/core · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 28 Sep 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 28 Sep 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Sep 2023)