drupal/jsonapi - SA-CONTRIB-2018-081
This module provides a JSON:API specification-compliant HTTP API for accessing and manipulating Drupal content and configuration entities.
The module doesn't sufficiently check access when responding to certain filtered collection requests, thereby causing an access bypass vulnerability. (This means certain GET requests are vulnerable; no POST, PATCH or DELETE requests are vulnerable.)
In order to fix this issue, two new hooks were added: hook_jsonapi_ENTITY_TYPE_filter_access() and hook_jsonapi_entity_field_filter_access(). Sites with custom entity types and/or with entity or field access customizations may need to implement these newly introduced hooks.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/jsonapi | < 1.24.0 | 1.24.0 |
| Drupal module | drupal/jsonapi | < 1.24.0 | 1.24.0 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/jsonapi- Disclosed
- 19.12.2018
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2018-081 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/jsonapi
All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 6
- First → latest
- 02.2018 04.2020
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Unrated 6
Disclosures per year
- 2018: 4
- 2019: 1
- 2020: 1
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
drupal/jsonapi - SA-CONTRIB-2018-081 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.