DRUPAL-CONTRIB-2018-021

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/jsonapi/DRUPAL-CONTRIB-2018-021.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2018-021
Published
2018-04-25T17:43:28Z
Modified
2026-09-10T03:46:01Z
Summary
[none]
Details

This module provides a JSON API standards-compliant API for accessing and manipulating Drupal content and configuration entities.

The module doesn't provide CSRF protection when processing authenticated traffic using cookie-based authentication.

This vulnerability is mitigated by the fact that an attacker must be allowed to create or modify entities of a certain type, and a very specific and uncommon CORS configuration that allows all other pre-checks to be skipped.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/jsonapi

Package

Name
drupal/jsonapi
Purl
pkg:composer/drupal/jsonapi?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.16.0
Database specific
Show details
{
    "constraint": "<1.16.0"
}

Database specific

affected_versions
"<1.16.0"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/jsonapi/DRUPAL-CONTRIB-2018-021.json"