Technical impact
Angular’s RouterLink directives that are rendered during Node.js server‑side rendering retain computed UrlTree instances for each request. If queryParamsHandling is set to merge or preserve, each rendered link can keep attacker‑controlled query parameters in its UrlTree. Overly large or numerous query strings sent through upstream proxies or load balancers that do not reject oversized queries can amplify heap usage; multiple overlapping renders can exhaust the Node.js old‑space heap, causing the SSR worker to terminate and leading to application downtime. Numeric query‑parameter names increase allocation pressure, but are not required. Memory is released after rendering completes, and pure client‑side SPAs are not affected. This issue is fixed in Angular 21.2.25 and 22.2.1.
Affected Systems
Any Angular application that uses server‑side rendering and runs versions 21.2.0 through 21.2.25 inclusive or 22.2.1 is affected. The vulnerability is present in the angular:angular platform and affects any deployment that exposes SSR endpoints to externally controlled query strings.
Risk and Exploitability
The CVSS score of 8.2 categorizes the issue as high severity, and its impact is a crash of SSR workers. The exploit relies on an attacker sending oversized or numerous query strings to a SSR endpoint. While the EPSS score is not available, the lack of a KEV listing indicates no confirmed exploits yet. Nonetheless, an attacker could trigger the resource exhaustion if upstream proxies or load balancers do not reject long query strings, making the vulnerability potentially exploitable in realistic network scenarios.
Github GHSA