Content Injection Vulnerability in Next.js Framework by Vercel
CVE-2025-55173
4.3MEDIUM
What is CVE-2025-55173?
The Next.js framework, a popular choice for building full-stack applications, has a vulnerability that allows for content injection due to improper handling of external image sources. This flaw could enable attackers to trigger downloads of malicious files with manipulated content and filenames if specific configurations are exploited. This raises significant concerns, especially in terms of potential phishing attacks and distribution of harmful files. Users are encouraged to upgrade to patched releases in the middleware versions 14.2.31 and 15.4.5 to mitigate this risk.
Affected Version(s)
next.js >= 15.0.0, < 15.4.5 < 15.0.0, 15.4.5
next.js < 14.2.31 < 14.2.31