Information disclosure in Next.js



Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2025-30218
CWE-ID CWE-200
Exploitation vector Network
Public exploit N/A
Vulnerable software
Next.js
Server applications / Frameworks for developing and running applications

Vendor Zeit

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Information disclosure

EUVDB-ID: #VU106922

Risk: Low

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

CVE-ID: CVE-2025-30218

CWE-ID: CWE-200 - Information exposure

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to software may leak the "x-middleware-subrequest-id" to a third party. A remote attacker with control over the third-party server can obtain the header value and use it to bypass authentication.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Next.js: 12.0.0 - 15.2.3

CPE2.3 External links

https://github.com/vercel/next.js/security/advisories/GHSA-223j-4rm8-mrmf
https://vercel.com/changelog/cve-2025-30218-5DREmEH765PoeAsrNNQj3O


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.



###SIDEBAR###