SCA: security update for @angular/compiler, @angular/core (GHSA-hh8m-fm6v-7cvg)

medium Tenable Self-Hosted Container Security Plugin ID 447952

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 20.3.28, 21.2.20, and 22.1.0, Angular's compiler and
runtime in @angular/core and @angular/compiler could omit or select an incorrect sanitizer for security-
sensitive directive host bindings because SecurityContext was derived from the declaring directive or
component selector rather than the concrete host element. The mismatch is reachable through hostDirectives
composition, inherited HostBinding declarations, createComponent with a custom hostElement or dynamic
directives, SVG/MathML namespace elements, and tag-neutral selectors such as :not(...). Attacker-
controlled href, src, action, xlink:href, or data values can therefore reach DOM attributes without
Angular's built-in sanitizer and execute arbitrary JavaScript in the user's browser context. Applications
unable to upgrade can use DomSanitizer.sanitize with SecurityContext.URL before assignment or restrict
inputs to validated HTTP and HTTPS URL schemes. This issue is fixed in versions 20.3.28, 21.2.20, and
22.1.0. (CVE-2026-88057)

Solution

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

See Also

https://github.com/advisories/GHSA-hh8m-fm6v-7cvg

Plugin Details

Severity: Medium

ID: 447952

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 9/11/2026

Updated: 9/11/2026

Risk Information

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2026-88057

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:N/VI:N/VA:N/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/10/2026

Vulnerability Publication Date: 9/10/2026

Reference Information

CVE: CVE-2026-88057

cwe: CWE-79