{"id":"CVE-2025-13984","aliases":["CVE-2025-13984","DRUPAL-CONTRIB-2025-122"],"related":[],"kind":"vulnerability","state":"published","title":"Next.js - Critical - Access bypass - SA-CONTRIB-2025-122","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"This module enables integration between Next.js and Drupal for headless CMS functionality.\n\nWhen 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.\n\nThis vulnerability affects all installations as there are no configuration options to disable this behavior.","format":"markdown","source":"drupal"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-12-03T18:49:18.000Z","modified":"2026-09-10T03:45:46.222Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-942"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","fixed":"1.6.4","status":"affected"},{"type":"semver","introduced":"2.0.0","fixed":"2.0.1","status":"affected"}],"vendor":"Drupal","product":"Next.js","repo":"https://git.drupalcode.org/project/next","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.6.4"},{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.1"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/next","purl":"pkg:composer/drupal/next?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"},{"ranges":[{"status":"affected","fixed":"1.6.4"},{"status":"affected","introduced":"2.0.0","fixed":"2.0.1"}],"vendor":"kanopi","product":"next.js","cpe":"cpe:2.3:a:kanopi:next.js:*:*:*:*:*:drupal:*:*","source":"nvd"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2025-122","tags":["vendor-advisory","web"],"sources":["cvelist","drupal","nvd"]}],"credits":["Mike Decker (pookmish)","Brian Perry (brianperry)","Rob Decker (rrrob)","Bram Driesen (bramdriesen)","Greg Knaddison (greggles)","Jess  (xjm)"],"assigner":"drupal","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-29T18:24:01.824Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-13984","url":"https://www.cve.org/CVERecord?id=CVE-2025-13984","licence":"CVE Terms of Use","modified":"2026-01-29T18:24:28.956Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2025-122","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2025-122","licence":"MIT","modified":"2026-09-10T03:45:46.222Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-13984","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-13984","licence":"Public domain","modified":"2026-06-17T08:35:07.257Z"}],"updatedAt":"2026-11-25T22:59:10.911Z","epss":{"score":0.00172,"percentile":0.06889,"date":"2026-12-01T12:00:22.000Z"}}