Technical impact
The vulnerability resides in Angular’s @angular/router when used in Node.js server‑side rendering before the releases 20.3.33, 21.2.25, or 22.2.1. In these affected versions, the router does not enforce that auxiliary outlet URL segments correspond to their configured outlet names. An attacker can send crafted HTTP requests that include multiple unconfigured empty‑path outlet groups. Each request forces the router to repeatedly evaluate the route configuration, constructs duplicated ActivatedRouteSnapshot trees, executes canMatch guards and resolvers, and copies route parameters and query parameters for each outlet. This repeated processing can exhaust the Node.js heap or CPU, causing a server‑side rendered worker to crash when it has a constrained memory budget. The attack does not require authentication and is limited to SSR endpoints that contain empty‑path or named outlet routes. The allocation is transient; it does not leak memory persistently, so client‑side SPAs and prerendered builds are unaffected.
Affected Systems
Angular framework, specifically any version of @angular/router running on Node.js server‑side rendering prior to 20.3.33, 21.2.25, or 22.2.1. Versions 20.3.33, 21.2.25, and 22.2.1 contain the fix.
Risk and Exploitability
The CVSS score of 8.2 indicates high severity. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, so no confirmed exploits are known yet. Nevertheless, the vulnerability requires SSR to be enabled, a route that contains an empty‑path or named outlet, and a worker with a constrained heap to be exploitable. The attack is likely to occur via crafted HTTP requests to the SSR endpoint, and the attacker does not need authentication.
Github GHSA