Skip to content
OpenAdvisories
Unscored DRUPAL-CONTRIB-2022-054

The Next.js module provides an inline preview for content. Authenticated requests are made to Drupal to fetch JSON:API content and render t…

Published Sep 7, 2022 · Updated Sep 10, 2026 · Assigned by DRUPAL

Description

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.

The 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.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/next < 1.3.0 1.3.0 DRUPAL-CONTRIB-2022-054

References