Vulnerability library
Security checkOctober 20, 2026

@angular/router: Denial of Service via Unmatched Empty-Path Outlet Route Matching in Server-Side Rendering (SSR)

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpm@angular/router

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

A denial of service (DoS) vulnerability was identified in @angular/router when Server-Side Rendering (SSR) is enabled on Node.js (V8).

During route recognition, @angular/router fails to validate whether an auxiliary outlet segment in the URL matches a route configured for that specific outlet name.

Recommendation

Update the @angular/router package to the latest compatible version. Followings are version details:

  • Affected version(s): **<= 19.2.25 >= 20.0.0, < 20.3.33 >= 21.0.0, < 21.2.25 >= 22.0.0, < 22.2.1**
  • Patched version(s): **20.3.33 21.2.25 22.2.1**

References

Could your website be exposed too?

SmartScanner can check your website for @angular/router: Denial of Service via Unmatched Empty-Path Outlet Route Matching in Server-Side Rendering (SSR) and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 20, 2026