Cross-Site Scripting Vulnerability in Vercel Next.js Framework
CVE-2026-44580
6.1MEDIUM
What is CVE-2026-44580?
Next.js, a powerful React framework developed by Vercel, has a vulnerability that allows cross-site scripting (XSS) due to improper handling of untrusted content in specific versions. Applications using beforeInteractive scripts without adequate input sanitization can be exploited. This occurs when serialized script content is not adequately escaped, enabling attackers to inject and execute malicious JavaScript in the context of a user's browser. It's crucial for developers using affected versions to upgrade to 15.5.16 or 16.2.5 to mitigate the risks associated with this vulnerability. For further details, see the advisory on Vercel's security page.
Affected Version(s)
next.js >= 13.0.0, < 15.5.16 < 13.0.0, 15.5.16
next.js >= 16.0.0, < 16.2.5 < 16.0.0, 16.2.5