drupal/next - SA-CONTRIB-2025-122
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/next | < 1.6.4, >= 2.0.0, < 2.0.1 | 1.6.4, 2.0.1 |
| Drupal module | drupal/next | < 1.6.4, >= 2.0.0, < 2.0.1 | 1.6.4, 2.0.1 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/next- Disclosed
- 03.12.2025
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2025-122 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/next
All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 09.2022 12.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Unrated 2
Disclosures per year
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 0
-
drupal/next - SA-CONTRIB-2025-122 this entry
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.