PT-2026-39412 · Vercel · Next.Js

Timneutkens

·

Published

2026-05-09

·

Updated

2026-05-13

·

CVE-2026-44580

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Next.js versions 13.0.0 through 15.5.15 Next.js versions 16.0.0 through 16.2.4
Description Applications using beforeInteractive scripts combined with untrusted content are susceptible to cross-site scripting (XSS), a flaw where malicious scripts are injected into trusted websites. Serialized script content was not safely escaped before being embedded into the document, allowing attacker-controlled input to exit the intended script context and execute arbitrary JavaScript in the visitor's browser.
Recommendations Update to version 15.5.16. Update to version 16.2.5. Avoid passing untrusted data into beforeInteractive scripts. Sanitize or escape content before embedding it if using untrusted data in beforeInteractive scripts is unavoidable.

Fix

XSS

Weakness Enumeration

Related Identifiers

CVE-2026-44580
GHSA-GX5P-JG67-6X7H

Affected Products

Next.Js