A vulnerable package is not a breach certificate. FACT: Snyk lists the authorization issue from Next.js 12.2.0 to before 15.5.16, while CVE-2026-44578 SSRF starts at 13.4.13; therefore, not every release in the stated range has every flaw. The SSRF requires a self-hosted built-in Node.js server and crafted WebSocket upgrade request; it is GET-only and port-80-limited. NVD currently records no observed exploitation, although public scanning and exploit code exists. UNKNOWN: The available XSS evidence does not establish active exploitation or enough mechanics to prescribe a payload-specific signature.
Highest-value telemetry: application logs should preserve unauthenticated locale-less requests, middleware authorization decisions, protected JSON responses, WebSocket upgrades, and correlated server-side outbound requests. Reverse proxies should record the raw request target, Host, Upgrade/Connection headers, source IP, response size, and rejected absolute-form requests. Identity telemetry should expose protected access or privileged actions without a corresponding IdP login, valid session, or MFA event. Cloud telemetry should flag the Next.js workload contacting 169.254.169.254:80 or internal administrative services, followed by unusual use of workload credentials. For XSS, prioritize CSP violation reports, unexpected script/network execution in browsers, and stolen-session reuse—not merely suspicious query strings.
Immediate-isolation threshold: a causal pair: attacker-controlled inbound request followed by protected data disclosure, a Next.js-originated metadata/internal request, or browser-side script execution/session reuse. Any metadata response containing credentials, or subsequent use of those credentials, closes the SSRF chain. Isolate, preserve application and proxy logs, revoke sessions and exposed cloud credentials, then hunt laterally. A version match or scanner hit without that downstream evidence means expedited upgrade and focused hunting—not an automatic compromise declaration.
Upgrade directly to 15.5.16, 16.2.5, or later, then regression-test authentication middleware, locale routing, WebSocket behavior, and CSP. Until deployment, enforce authorization again at protected route handlers, reject unnecessary WebSocket upgrades and absolute-form requests at the proxy, block workload access to metadata/internal management destinations, and apply restrictive CSP. Do not treat 14.2.35 as the destination; Snyk still marks it affected.