# CVE-2026-44581: Next.js: Cross-site scripting in App Router applications using CSP nonces

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-05-11T15:57:12.000Z
- Modified: 2026-10-26T14:10:00.130Z
- Also known as: GHSA-ffhc-5mcf-pf4q
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- vercel next.js: >= 13.4.0, < 15.5.16; >= 16.0.0, < 16.2.5; from 13.4.0 before 15.5.16; from 16.0.0 before 16.2.5
- next (npm): from 13.4.0 before 15.5.16; from 16.0.0 before 16.2.5

## Every score

- GitHub_M: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`

## 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)

## Sources

- CVE List: [CVE-2026-44581](https://www.cve.org/CVERecord?id=CVE-2026-44581), CVE Terms of Use, modified 2026-05-18
- GitHub Advisory Database: [GHSA-ffhc-5mcf-pf4q](https://github.com/advisories/GHSA-ffhc-5mcf-pf4q), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-44581](https://nvd.nist.gov/vuln/detail/CVE-2026-44581), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-44581 · Whole record: https://cve.day/CVE-2026-44581.json · Rebuilt by cve.day 2026-11-25T22:59:21.618Z
