6.1medium
Next.js - Critical - Access bypass - SA-CONTRIB-2025-122
- Severity
- 6.1medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- drupal
- Also known as
- DRUPAL-CONTRIB-2025-122
Description
Permissive Cross-domain Security Policy with Untrusted Domains vulnerability in Drupal Next.Js allows Cross-Site Scripting (XSS).This issue affects Next.Js: from 0.0.0 before 1.6.4, from 2.0.0 before 2.0.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Drupal Next.js | from 0.0.0 before 1.6.4, from 2.0.0 before 2.0.1 | CVE List |
| drupal/next (Packagist:https://packages.drupal.org/8) | before 1.6.4, from 2.0.0 before 2.0.1 | Drupal Security Team |
| kanopi next.js | before 1.6.4, from 2.0.0 before 2.0.1 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Permissive Cross-domain Security Policy with Untrusted Domains vulnerability in Drupal Next.Js allows Cross-Site Scripting (XSS).This issue affects Next.Js: from 0.0.0 before 1.6.4, from 2.0.0 before 2.0.1.
Drupal Security Team
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.
NVD (es)
Vulnerabilidad de Política de Seguridad Transdominio Permisiva con Dominios No Confiables en Drupal Next.Js permite cross-site scripting (XSS). Este problema afecta a Next.Js: desde 0.0.0 anterior a 1.6.4, desde 2.0.0 anterior a 2.0.1.
References
| https://www.drupal.org/sa-contrib-2025-122 | vendor-advisory, web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-13984 changed 2026-01-29 | CVE Terms of Use |
| Drupal Security Team | DRUPAL-CONTRIB-2025-122 changed 2026-09-10 | MIT |
| NVD | CVE-2025-13984 changed 2026-06-17 | Public domain |