PT-2026-120339
CVE-2026-111751
·
Published
2026-10-20
·
Updated
2026-11-12
Description by
CVSS 4.0
8.2
HighMetricsAV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Angular versions 21.2.0 through 21.2.24
Angular versions 22.0.0 through 22.2.0
Description
A denial of service issue exists in @angular/router when Server-Side Rendering (SSR) is enabled on Node.js. The problem occurs when
RouterLink directives are rendered with queryParamsHandling set to merge or preserve, either per link or via defaultQueryParamsHandling. In these configurations, the application retains computed UrlTree instances and their associated query parameter dictionaries in the heap for the entire duration of the request lifecycle.An unauthenticated remote attacker can exploit this by sending concurrent requests with oversized query strings. This causes heap amplification, where the memory required for parsed JavaScript objects is significantly larger than the raw query string. This can exhaust the Node.js old-space heap, leading to a fatal out-of-memory crash that terminates the SSR worker. This issue specifically affects SSR environments; pure client-side Single Page Applications (SPAs) are not affected.
Recommendations
Update Angular to version 21.2.25.
Update Angular to version 22.2.1.
Remove
defaultQueryParamsHandling: 'merge' or defaultQueryParamsHandling: 'preserve' from global configuration and explicitly bind only required query parameters to links.
Configure edge proxies, web application firewalls, or reverse proxies to reject requests with excessively long query strings.
Implement middleware in Node.js to reject oversized query strings before they reach the Angular SSR handler.
Increase the --max-old-space-size setting in Node.js to provide more memory headroom.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾