The CVE is a server-side-rendering memory-exhaustion (CWE-400/770) flaw in Angular's @angular/router RouterLink directive. All three provided commits (319a3c4, 14793bf cherry-pick, a131f77) touch only packages/router/src/directives/router_link.ts, and the commit message plus issue #70908 pin the exact root cause: commit 89d47d8 refactored RouterLink internals to signals and introduced a computed signal _urlTree. Because every <a routerLink> keeps an active RouterLink directive instance for the lifetime of the view/request, that computed signal permanently caches its returned UrlTree (together with the cloned query-params map and segment tree) in the signal's reactive node value. During SSR, when queryParamsHandling is merge/preserve (per link or via defaultQueryParamsHandling: 'merge'), each rendered link pins a full copy of the attacker-controlled query string; many links (or overlapping renders) amplify heap usage until V8 old-space is exhausted and the worker is OOM-killed.
The fix removes the caching _urlTree computed, extracts its body into a private, non-caching createUrlTree() method (added by the patch, therefore NOT a vulnerable function), moves the reactive dependency tracking (path, fragment, queryParams) directly into reactiveHref so that only the serialized href string is retained, and makes the urlTree getter and onClick handler compute the tree on demand. The intermediate UrlTree/queryParams dictionary is now discarded immediately after serialization and reclaimed by young-generation GC.
Therefore the vulnerable function is _urlTree (the retained computed), and the functions modified to stop consuming it are reactiveHref (the linkedSignal bound to [attr.href], executed for every link during SSR), the urlTree getter, and onClick. createUrlTree is excluded because it is the mitigation introduced by the patch. Under a Node.js/V8 profiler these class methods/signals surface as RouterLink.reactiveHref and RouterLink._urlTree (plus RouterLink.urlTree/RouterLink.onClick) on the SSR render stack while the heap grows toward OOM.