Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. drupal/core
  4. ›
  5. CVE-2023-5256

CVE-2023-5256: Generation of Error Message Containing Sensitive Information

September 28, 2023 (updated October 5, 2023)

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.

References

  • github.com/advisories/GHSA-rjqg-3h9m-fx5x
  • nvd.nist.gov/vuln/detail/CVE-2023-5256
  • www.drupal.org/sa-core-2023-006

Code Behaviors & Features

Detect and mitigate CVE-2023-5256 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 8.7.0 before 9.5.11, all versions starting from 10.0.0 before 10.0.11, all versions starting from 10.1.0 before 10.1.4

Fixed versions

  • 9.5.11
  • 10.0.11
  • 10.1.4

Solution

Upgrade to versions 9.5.11, 10.0.11, 10.1.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-209: Generation of Error Message Containing Sensitive Information

Source file

packagist/drupal/core/CVE-2023-5256.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.