Loading advisory.
Loading advisory.
Next.js vulnerable to cross-site scripting in App Router applications using CSP nonces
App Router applications that rely on CSP nonces can be vulnerable to stored cross-site scripting when deployed behind shared caches.
Published 2026-05-11 15:57 UTC · Modified 2026-09-10 03:51 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| next | npm | >= 13.4.0, < 15.5.16 >= 16.0.0, < 16.2.5 | 15.5.16, 16.2.5 | npm install next@15.5.16npm install next@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.
We now reject or ignore malformed nonce values before they are embedded into HTML and apply stricter nonce sanitization so request-derived nonce data cannot break out of the intended attribute context.
If you cannot upgrade immediately, strip inbound Content-Security-Policy request headers from untrusted traffic.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.002 on 2026-11-24 to 0.003 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |
| 2026-11-26 | 0.003 | 0.002 | v2026.06.15 |