Unrated

drupal/jsonapi - SA-CONTRIB-2018-081

  • Disclosed: 19.12.2018
  • Updated: 11.10.2026 12:18

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.

PlatformPackageVulnerable versionsFixed in
Composer package drupal/jsonapi < 1.24.0 1.24.0
Drupal module drupal/jsonapi < 1.24.0 1.24.0

References

CVSS score -
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 (Composer package), 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

  1. 2018: 4
  2. 2019: 1
  3. 2020: 1
  4. 2021: 0
  5. 2022: 0
  6. 2023: 0
  7. 2024: 0
  8. 2025: 0
  9. 2026: 0
  1. Unrated drupal-contrib-2020-010 all versions no fix
  2. Unrated drupal-contrib-2019-019 < 1.25.0, >= 2.0.0, < 2.3.0 1.25.0, 2.3.0
  3. drupal/jsonapi - SA-CONTRIB-2018-081 this entry
    Unrated drupal-contrib-2018-081 < 1.24.0 1.24.0
  4. Unrated drupal-contrib-2018-021 < 1.16.0 1.16.0
  5. Unrated drupal-contrib-2018-016 < 1.14.0 1.14.0
  6. Unrated drupal-contrib-2018-015 < 1.10.0 1.10.0

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.