This module enables integration between Next.js and Drupal for headless CMS functionality.
Impact
This module enables integration between Next.js and Drupal for headless CMS functionality.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 1.6.4Ecosystem versions | 1.6.4 |
| From 2.0.0 before 2.0.1Ecosystem versions | 2.0.1 |
Version evidence: OSV · DRUPAL-CONTRIB-2025-122
View original version evidence (0 explicit versions)
Original source description
This module enables integration between Next.js and Drupal for headless CMS functionality.
When installed, the module automatically enables cross-origin resource sharing (CORS) with insecure default settings (Access-Control-Allow-Origin: *), overriding any services.yml CORS configuration. This allows any origin to make cross-origin requests to the site without administrator knowledge or consent.
This vulnerability affects all installations as there are no configuration options to disable this behavior.