CVE-2026-104871

Medium

Description

The Angular SSR is a server-rise rendering tool for Angular applications. Prior to versions 20.3.36, 21.2.23, and 22.1.7, the CommonEngine retrieveSSGPage prerendered-page retrieval logic in @angular/ssr/node, and in @angular/ssr for versions 17 through 18, accepts a relative request URL containing a backslash parent-traversal segment on Windows. The non-special resolve:// URL base preserves the backslash, path.join interprets it as a Windows separator, and the pagePath.startsWith(normalize(publicPath)) check incorrectly accepts a sibling output directory whose name shares the configured public-directory prefix. An unauthenticated requester can therefore retrieve a sibling prerendered HTML page when that page contains the Angular SSG marker. The issue is limited to Windows deployments that pass relative request URLs to CommonEngine.render, have a prefix-sharing sibling output directory, and contain qualifying prerendered Angular HTML; it does not provide arbitrary file read. This issue is fixed in versions 20.3.36, 21.2.23, and 22.1.7.

SeverityMedium
CVSS6.3
Exploit probability—
Product@angular/ssr
PublishedOct 2, 2026
First seenOct 2, 2026

How to fix

Update
  • @angular/ssr22.1.7, 21.2.23, 20.3.36 or later

Affected products

ProductAffected versionsFixed in
@angular/ssrnpm22.0.0 ≤ v < 22.1.7, 21.0.0 ≤ v < 21.2.23, 20.0.0 ≤ v < 20.3.36, v ≤ 19.2.2722.1.7, 21.2.23, 20.3.36

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.