CVE-2026-111751
Published:October 19, 2026
Updated:October 20, 2026
A denial of service (DoS) vulnerability was identified in "@angular/router" when Server-Side Rendering (SSR) is enabled on Node.js (V8) and "RouterLink" directives are rendered with "queryParamsHandling: 'merge'" or "'preserve'", configured either per link or globally via "defaultQueryParamsHandling". Starting in v21.2.0 ("angular/angular#66181" (https://github.com/angular/angular/pull/66181)), "RouterLink" internals were refactored to use signals, introducing a computed signal ("_urlTree") that cached the returned "UrlTree" instance on the directive. Because each rendered link maintains an active "RouterLink" instance for the entire duration of the request lifecycle, the computed signal permanently pinned the "UrlTree" and its associated query parameter dictionary in the heap until the SSR response completed. When query parameter handling is set to "'merge'" or "'preserve'", each link copies the incoming request's query parameters into its own "UrlTree". During SSR, memory consumption scales multiplicatively: $$\text{Heap Retention} \approx (\text{Number of affected links}) \times (\text{Size of parsed query parameter map})$$ Because parsed JavaScript objects and property dictionaries require substantially more heap space than the raw query string—particularly when property names trigger dense array allocations under V8 property-storage heuristics—an attacker can supply oversized query strings to amplify heap consumption by orders of magnitude per in-flight request.
Affected Packages
https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=v22.0.0 <v22.2.1Fix Suggestion:
Update to version v22.2.1https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=v21.2.0 <v21.2.25Fix Suggestion:
Update to version v21.2.25@angular/router (NPM):
Affected version(s) >=22.0.0 <22.2.1Fix Suggestion:
Update to version 22.2.1@angular/router (NPM):
Affected version(s) >=21.2.0 <21.2.25Fix Suggestion:
Update to version 21.2.25Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH