{"id":"DRUPAL-CONTRIB-2022-054","details":"The Next.js module provides an inline preview for content. Authenticated requests are made to Drupal to fetch JSON:API content and render them in an iframe from the decoupled Next.js site.\n\nThe current implementation doesn’t sufficiently check access for fetching data. All requests made to Drupal are authenticated using a single scope with elevated content access. Users without access to content could be exposed to unauthorized content.","modified":"2026-09-10T03:46:10.561820602Z","published":"2022-09-07T16:57:28Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2022-054"}],"affected":[{"package":{"name":"drupal/next","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/next?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0"}],"database_specific":{"constraint":"\u003c1.3.0"}}],"database_specific":{"source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/next/DRUPAL-CONTRIB-2022-054.json","affected_versions":"\u003c1.3.0"}}],"schema_version":"1.9.0","credits":[{"name":"Lauri Eskola","contact":["https://www.drupal.org/user/1078742"]}]}