SCA: security update for @angular/compiler (GHSA-58w9-8g37-x9v5)

medium Tenable Cloud Security Plugin ID 443196

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, an issue in the
@angular/compiler package allows bypassing DOM property sanitization through the use of two-way property
bindings. Specifically, when a native DOM property that requires sanitization (such as innerHTML, srcdoc,
src, href, data, or sandbox) is bound using the two-way binding syntax (e.g., [(innerHTML)]="value" or
bindon-innerHTML="value"), the Angular template compiler failed to apply the appropriate schema-derived
sanitizer resolution to the TwoWayProperty operation. As a result, native two-way DOM bindings were
emitted without the required sanitizer function, whereas equivalent one-way bindings would be properly
sanitized. This flaw enables an attacker who can control the value of a two-way bound sensitive property
to bypass Angular's built-in sanitization logic, potentially leading to client-side Cross-Site Scripting
(XSS). This vulnerability is fixed in 22.0.1, 21.2.17, and 20.3.25. (CVE-2026-54265)

Solution

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

See Also

https://github.com/advisories/GHSA-58w9-8g37-x9v5

Plugin Details

Severity: Medium

ID: 443196

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.51

Vendor

Vendor Severity: Medium

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-54265

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: Medium

Base Score: 5.3

Threat Score: 1.3

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/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-54265

cwe: CWE-79