CVE-2025-13984
JSON

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 packageVersionsReported by
Drupal Next.jsfrom 0.0.0 before 1.6.4, from 2.0.0 before 2.0.1CVE List
drupal/next (Packagist:https://packages.drupal.org/8)before 1.6.4, from 2.0.0 before 2.0.1Drupal Security Team
kanopi next.jsbefore 1.6.4, from 2.0.0 before 2.0.1NVD

Classification

CWE-942

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

Sources

SourceRecordLicence
CVE ListCVE-2025-13984 changed 2026-01-29CVE Terms of Use
Drupal Security TeamDRUPAL-CONTRIB-2025-122 changed 2026-09-10MIT
NVDCVE-2025-13984 changed 2026-06-17Public domain