CVE-2026-44581
MEDIUM 4.7CVSS 3.1Next.js vulnerable to cross-site scripting in App Router applications using CSP nonces
Next.js is a React framework for building full-stack web applications. From 13.4.0 to before 15.5.16 and 16.2.5, App Router applications that rely on CSP nonces can be vulnerable to stored cross-site scripting when deployed behind shared caches. In affected versions, malformed nonce values derived from request headers could be reflected into rendered HTML in an unsafe way, allowing an attacker to poison cached responses and cause script execution for later visitors. This vulnerability is fixed in 15.5.16 and 16.2.5.
- Published
- 13 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-ffhc-5mcf-pf4q
- Sources
- NVDJSONOSV GHSA-ffhc-5mcf-pf4qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vercel | next.jscpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:* |
>= 13.4.0, < 15.5.16 | 15.5.16 |
| NVD | vercel | next.jscpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:* |
>= 16.0.0, < 16.2.5 | 16.2.5 |
| OSV | npm | next | >= 13.4.0, < 15.5.16 | 15.5.16 |
| OSV | npm | next | >= 16.0.0, < 16.2.5 | 16.2.5 |
References
- https://github.com/vercel/next.js/security/advisories/GHSA-ffhc-5mcf-pf4q · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-44581 · ADVISORY
- https://github.com/vercel/next.js · PACKAGE
- https://github.com/vercel/next.js/releases/tag/v15.5.16 · WEB
- https://github.com/vercel/next.js/releases/tag/v16.2.5 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 13 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 May 2026)