ID:12183 - Exploit for Deserialization of untrusted data in Next.js - CVE-2025-66478

 
Main Vulnerability Database Exploits ID:12183 - Exploit for Deserialization of untrusted data in Next.js - CVE-2025-66478

ID:12183 - Exploit for Deserialization of untrusted data in Next.js - CVE-2025-66478

Published: December 8, 2025


Vulnerability identifier: #VU119104
Vulnerability risk: Critical
CVE-ID: CVE-2025-66478
CWE-ID: CWE-502
Exploitation vector: Remote access
Vulnerable software:
Next.js

Link to public exploit:


Vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation when processing serialized data within the React's App Router. A remote non-authenticated attacker can send specially crafted HTTP request to the application and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Note, vulnerability in the react server component is tracked as a separate vulnerability #VU119103 (CVE-2025-55182).


Remediation

Install updates from vendor's website.