Cross-site scripting in Next.js - #VU130275

 

Cross-site scripting in Next.js - #VU130275

Published: May 6, 2026


Vulnerability identifier: #VU130275
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Next.js
Software vendor:
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.


Remediation

Install security update from vendor's website.

External links