Cross-site scripting in Next.js - #VU130275
Published: May 6, 2026
Next.js
vercel
Description
The vulnerability allows a remote attacker to execute arbitrary JavaScript in a visitor's browser.
The vulnerability exists due to improper neutralization of input during web page generation in beforeInteractive script content serialization when embedding untrusted content into the document. A remote attacker can supply specially crafted input to execute arbitrary JavaScript in a visitor's browser.
User interaction is required to load the affected page.