SCA: security update for @angular/ssr (GHSA-7g7c-h8rr-7p6q)

medium Tenable Cloud Security Plugin ID 473014

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-104871)

Solution

Update the @angular/ssr library and its related packages to version 20.3.36 or later.

See Also

https://github.com/advisories/GHSA-7g7c-h8rr-7p6q

Plugin Details

Severity: Medium

ID: 473014

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/6/2026

Updated: 10/6/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.68

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2026-104871

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.3

Threat Score: 1.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/5/2026

Vulnerability Publication Date: 10/2/2026

Reference Information

CVE: CVE-2026-104871

cwe: CWE-22