Origin validation error in Next.js - CVE-2025-13984

 

Origin validation error in Next.js - CVE-2025-13984

Published: December 4, 2025


Vulnerability identifier: #VU119127
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-13984
CWE-ID: CWE-346
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to the cross-origin resource sharing (CORS) enables browsers to perform cross domain requests in a controlled manner. A remote attacker can make cross-origin requests to the site without administrator knowledge or consent.


Affected software

Next.js

How to mitigate CVE-2025-13984

Install updates from vendor's website.

Next.js - addressed in versions 1.6.4, 2.0.1

External References

Related Security Bulletins