Read the docs
TI-2026-32492 Aliases CVE-2026-44580GHSA-gx5p-jg67-6x7h

Next.js: Cross-site scripting in beforeInteractive scripts with untrusted input

Priority LOW 27CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Partial Red Hat: 3 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00205 10th percentileScored 2026-11-07
Fix Partial next.js (vercel): 15.5.16, 16.2.5next (npm): 15.5.16, 16.2.5Red Hat: 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
vercelnext.js13.0.0 to before 15.5.16; 16.0.0 to before 16.2.515.5.16, 16.2.5Patch availableCNA
—next (npm)13.0.0 to before 15.5.1615.5.16Patch availableGHSA-gx5p-jg67-6x7h
—next (npm)16.0.0 to before 16.2.516.2.5Patch availableGHSA-gx5p-jg67-6x7h
  • next.js Vendorvercel Affected 13.0.0 to before 15.5.16; 16.0.0 to before 16.2.5 Fixed in 15.5.16, 16.2.5 Patch available CNA
  • next (npm) Vendor— Affected 13.0.0 to before 15.5.16 Fixed in 15.5.16 Patch available GHSA-gx5p-jg67-6x7h
  • next (npm) Vendor— Affected 16.0.0 to before 16.2.5 Fixed in 16.2.5 Patch available GHSA-gx5p-jg67-6x7h

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*13.0.0 to before 15.5.16; 16.0.0 to before 16.2.5Vulnerablevercel
  • cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:* Versions 13.0.0 to before 15.5.16; 16.0.0 to before 16.2.5 Vulnerable ·vercel

Remediation

  • Fix · CNA next.js (vercel) Fixed in 15.5.16, 16.2.5
  • Fix · GHSA-gx5p-jg67-6x7h next (npm) Fixed in 15.5.16 Advisory →
  • Fix · GHSA-gx5p-jg67-6x7h next (npm) Fixed in 16.2.5 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet: Fix deferred
Red Hat Trusted Artifact SignerAffectedNo fix yet: Fix deferred
streams for Apache Kafka 3AffectedNo fix yet: Fix deferred
Not affected: 4 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Hardened Images

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-44580
  2. 2026-10-03 Alias added: GHSA-gx5p-jg67-6x7h

References

  • TI-2025-34861 Deserialization of untrusted data in Meta react-server-dom-webpack KEVCVSS 3.1CRITICAL 10.0
  • TI-2025-21309 Authorization Bypass in Next.js Middleware CVSS 3.1CRITICAL 9.1
  • TI-2025-34863 Deserialization of untrusted data in Meta react-server-dom-webpack CVSS 3.1HIGH 7.5
  • TI-2024-31371 Cache Poisoning in next.js CVSS 3.1HIGH 7.5
  • TI-2023-24914 Next.js before 13.4.20-canary.13 lacks a cache-control header and thus empty prefetch… CVSS 3.1HIGH 7.5
  • TI-2026-32490 Next.js: Server-side request forgery in applications using WebSocket upgrades CVSS 3.1HIGH 8.6
See all 62 →

Sources