CVE-2026-44580Next.js has cross-site scripting in beforeInteractive scripts with untrusted input
A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 0.3% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.3%
- percentile 15%
- Fix
- Named by a source
- CVE published 13 May 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.3% (+0) · Network attack vector (+10) · No privileges required (+5)
Immediate actions
- next (npm): upgrade to 15.5.16 / 16.2.5 or later on your release line.
- Mitigation: https://github.com/vercel/next.js/security/advisories/GHSA-gx5p-jg67-6x7h
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-44580
Who should check
next (npm) pkg:npm/next
- Affected>= 13.0.0, < 15.5.16Fixed in15.5.16OSV (GHSA-gx5p-jg67-6x7h)
- Affected>= 16.0.0, < 16.2.5Fixed in16.2.5OSV (GHSA-gx5p-jg67-6x7h)
vercel next.js product:vercel/nextjs
- Affected>= 13.0.0, < 15.5.16Affected range ends before15.5.16as published by CNA (CVE List)
- Affected>= 16.0.0, < 16.2.5Affected range ends before16.2.5as published by CNA (CVE List)
- Affected>= 13.0.0, < 15.5.16Affected range ends before15.5.16as published by CPE data (via the NVD API)
- Affected>= 16.0.0, < 16.2.5Affected range ends before16.2.5as published by CPE data (via the NVD API)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 6.1 MEDIUM (version 3.1)
- Score from
- CNA ([email protected])
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-79
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- no
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)Next.js is a React framework for building full-stack web applications. From 13.0.0 to before 15.5.16 and 16.2.5, applications that use beforeInteractive scripts together with untrusted content can be vulnerable to cross-site scripting. In affected versions, serialized script content was not escaped safely before being embedded into the document, which could allow attacker-controlled input to break out of the intended script context and execute arbitrary JavaScript in a visitor's browser. This vulnerability is fixed in 15.5.16 and 16.2.5.
Update history
- 13 May 2026Published
References
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-44580 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-gx5p-jg67-6x7h (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 38 min ago · osv 37 min ago · nvd 37 min ago · epss 37 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-gx5p-jg67-6x7h