#VU97476 Acceptance of extraneous untrusted data with trusted data in Next.js - CVE-2024-46982


| Updated: 2025-04-04

Vulnerability identifier: #VU97476

Vulnerability risk: Medium

CVSSv4.0: 5.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/U:Green]

CVE-ID: CVE-2024-46982

CWE-ID: CWE-349

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Next.js
Server applications / Frameworks for developing and running applications

Vendor: Zeit

Description

The vulnerability allows a remote attacker to perform spoofing attack.

The vulnerability exists due to improper input validation when handling HTTP request. A remote non-authenticated attacker can poison the cache of a non-dynamic server-side rendered route in the pages router.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Next.js: 13.5.1 - 13.5.6, 14.0.0 - 14.0.4, 14.1.0 - 14.1.4, 14.2.0 - 14.2.9


External links
https://github.com/vercel/next.js/security/advisories/GHSA-gp8f-8m3g-qvj9
https://github.com/vercel/next.js/commit/7ed7f125e07ef0517a331009ed7e32691ba403d3
https://github.com/vercel/next.js/commit/bd164d53af259c05f1ab434004bcfdd3837d7cda


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability