Bug 2477186 (CVE-2026-44580)

Summary: CVE-2026-44580 next.js: Next.js: Cross-site scripting allows arbitrary code execution via untrusted script content
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bbrownin, caswilli, chfoley, eborisov, kaycoth, lball, ngough, rgodfrey, rhel-process-autobot, swoodman, veshanka, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Next.js. A remote attacker could exploit this cross-site scripting (XSS) vulnerability by injecting untrusted content into `beforeInteractive` scripts. Due to improper escaping of serialized script content, this could allow the attacker to execute arbitrary JavaScript code in a visitor's browser, leading to information disclosure or unauthorized actions.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-05-13 18:01:32 UTC
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.

Comment 2 Oleg Sushchenko 2026-06-25 11:38:30 UTC
Triage completed. Key finding: the original affects targeted Node.js runtime packages (nodejs18-nodejs26), but the CVE is for Next.js (Vercel's React framework, npm package "next") — a completely different project. Node.js runtime does not contain Next.js framework code.

Actions taken:
- Set 25 incorrect nodejs affects to NOTAFFECTED ("Vulnerable Code not Present")
- Left 5 hummingbird-1 nodejs affects unchanged (already AFFECTED/DELEGATED with trackers closed as NOTAFFECTED by delegated team)
- Added 8 correct affects for products actually bundling vulnerable Next.js versions:
  * amq-st-3.2 / streamshub-console (next.15) — AFFECTED/DEFER
  * services-management-platform / better-platform-docs (next.4) — AFFECTED/DEFER
  * rhel-ai-3.4 / bootc-cuda, bootc-gaudi, bootc-rocm, disk-image-cuda (next.x) — AFFECTED/DEFER
  * rhtas-1.3, rhtas-1.4 / rekor-search-ui (next.33-35) — AFFECTED/DEFER
- Note: amq-st-2.9 ships next.18 (fixed version, not affected)
- Added statement and mitigation
- Promoted to DONE (Moderate CVSS 6.1 < 7 → DEFER route)

Exploitation requires the Next.js beforeInteractive script strategy with attacker-controlled content — a specific usage pattern that limits practical risk.