Drupal core - Critical - Cache poisoning - SA-CORE-2023-006
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-5256
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 14:01 UTC · Revision 1
Source evidence
Drupal core - Critical - Cache poisoning - SA-CORE-2023-006
core-osv · Original sourcePublished 28 Sept 2023, 18:17 UTC
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.
osv:CVE-2023-5256
Complete source record
{
"id": "29219e17c139947898fe5e5d1f34d1fcb669024fcd3d684412eac15724f58869",
"url": "https://osv.dev/vulnerability/CVE-2023-5256",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Drupal core - Critical - Cache poisoning - SA-CORE-2023-006",
"summary": "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.",
"evidence": "osv:CVE-2023-5256",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2023-5256",
"aliases": [
"BIT-drupal-2023-5256",
"CVE-2023-5256",
"DRUPAL-CORE-2023-006",
"GHSA-rjqg-3h9m-fx5x"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/drupal/drupal",
"type": "GIT",
"events": [
{
"introduced": "17ba30046ed57677de4feff8d07354890b40efdb"
},
{
"fixed": "4576b6a4f1ac7e94a7547f226892a01999026cf2"
},
{
"introduced": "2700c5afb6c3936041db413872eea82dc0bd4fe4"
},
{
"fixed": "1af23a31ad13552ad38f3688371b48d8e7b8be25"
},
{
"introduced": "a5d9f165ea7eab533e0bbc5cab7336b7e38e1d20"
},
{
"fixed": "95d7b130e5db9fe05f3ed89af38cfd40083e6d11"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.7.0"
},
{
"fixed": "9.5.11"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.0.0"
},
{
"fixed": "10.0.11"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.1.0"
},
{
"fixed": "10.1.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"10.0.10",
"10.1.3",
"10.1.2",
"10.1.1",
"10.1.0",
"10.0.9",
"10.0.7",
"10.0.6",
"10.0.4",
"10.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-5256.json"
}
}
],
"modified": "2026-10-28T02:30:35.810764144Z",
"provider": "osv",
"references": [
"https://www.drupal.org/sa-core-2023-006",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5256.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-5256"
],
"provider_metadata": {
"cwe_ids": [
"CWE-200"
],
"cna_assigner": "drupal",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "10.1"
},
{
"last_affected": "10.1.4"
},
{
"introduced": "10.0"
},
{
"last_affected": "10.0.11"
},
{
"introduced": "9.5"
},
{
"last_affected": "9.5.11"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5256.json"
}
},
"related_cves": [
{
"value": "CVE-2023-5256",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 503411,
"published_at": "2023-09-28T18:17:43.128+00:00"
}