Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @angular/router
  4. ›
  5. CVE-2026-111751

CVE-2026-111751: @angular/router: Denial of Service via RouterLink Query Parameter Retention in Server-Side Rendering (SSR)

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), 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.

References

  • github.com/advisories/GHSA-57xq-rjx2-v5xh
  • github.com/angular/angular/commit/319a3c4f3268f4f96ac4acdbb118737d2261e0be
  • github.com/angular/angular/issues/70908
  • github.com/angular/angular/pull/70953
  • github.com/angular/angular/security/advisories/GHSA-57xq-rjx2-v5xh
  • nvd.nist.gov/vuln/detail/CVE-2026-111751

Code Behaviors & Features

Detect and mitigate CVE-2026-111751 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 21.2.0 before 21.2.25, all versions starting from 22.0.0 before 22.2.1

Fixed versions

  • 21.2.25
  • 22.2.1

Solution

Upgrade to versions 21.2.25, 22.2.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/@angular/router/CVE-2026-111751.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 21 Oct 2026 00:16:39 +0000.