SCA: security update for @angular/core (GHSA-rgjc-h3x7-9mwg)

high Tenable Cloud Security Plugin ID 443216

Description

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

- Angular is a development platform for building mobile and desktop web applications using
TypeScript/JavaScript and other languages. Prior to 22.0.1, 21.2.17, and 20.3.25, to optimize client-side
bootstrap in Server-Side Rendered (SSR) environments, Angular supports Hydration via
provideClientHydration(). During SSR, Angular serializes the application's runtime state (such as cached
HttpClient responses) and outputs it into the HTML stream as a <script> tag with a predictable identifier.
During client bootstrap, Angular recovers this state by looking up the element via
document.getElementById('ng-state') and parsing its text content. Because the DOM element lookup for the
state container is predictable and relies solely on the ID selector (ng-state), it is susceptible to DOM
Clobbering. If the application binds untrusted user input or CMS content to element properties such as id
(e.g., <div [id]="userInput"> or <a id="ng-state">) before the genuine <script> tag is parsed by the
browser, the attacker-controlled element takes precedence in the DOM lookup. During hydration, when
Angular calls document.getElementById('ng-state'), the browser returns the attacker's clobbered element.
Angular then attempts to parse the text content or attributes of this clobbered element as JSON. This
vulnerability is fixed in 22.0.1, 21.2.17, and 20.3.25. (CVE-2026-54267)

Solution

Update the @angular/core library and its related packages to version 20.3.25 or later.

See Also

https://github.com/advisories/GHSA-rgjc-h3x7-9mwg

Plugin Details

Severity: High

ID: 443216

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 6/15/2026

Updated: 7/6/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.57

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-54267

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

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

CVSS v4

Risk Factor: High

Base Score: 8.6

Threat Score: 6.2

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/15/2026

Vulnerability Publication Date: 6/15/2026

Reference Information

CVE: CVE-2026-54267