Advisory

DRUPAL-CORE-2023-006

Also known as: BIT-drupal-2023-5256, CVE-2023-5256, GHSA-rjqg-3h9m-fx5x

Summary

The record has no summary.

Details

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.

[Drupal Steward](/steward) partners have been made aware of this issue. Some platforms may provide mitigations. However, not all WAF configurations can mitigate the issue, so it is still recommended to update promptly to this security release if your site uses JSON:API.

Severity

Not rated by the source.

Dates

Published
2023-09-20 16:23 UTC
Modified
2026-09-19 18:25 UTC

Affected packages and fixes

drupal/core

Packagist · All systems

Affected

  • introduced 8.7.0, fixed 9.5.11 (ecosystem)
  • introduced 10.0.0, fixed 10.0.11 (ecosystem)
  • introduced 10.1.0, fixed 10.1.4 (ecosystem)

Fixed versions

9.5.11, 10.0.11, 10.1.4

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Drupal Advisory Database · MIT

Sources & licences