CVE-2026-88057

Description

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.

Severity
MEDIUM
CVSS v3
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N · source nvd
CVSS v4
5.3
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 · source cna
Exploit chance (EPSS)
0.372%
chance of exploitation in the next 30 days
higher than 31.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableyes
Technical impactpartial
Scored2026-09-11

Timeline

  1. 2026-09-10Published by the CNA18:46 UTC
  2. 2026-09-10GitHub advisory published (GHSA-hh8m-fm6v-7cvg)same day
  3. 2026-09-11CISA SSVC decision recorded1 day after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-hh8m-fm6v-7cvg, affected packages:

PackageVulnerable versionsFixed in
npm @angular/compilerthrough 19.2.25
npm @angular/compilerfrom 20.0.0 before 20.3.2820.3.28
npm @angular/compilerfrom 21.0.0 before 21.2.2021.2.20
npm @angular/compilerfrom 22.0.0 before 22.1.022.1.0
npm @angular/corethrough 19.2.25

3 more affected packages in the advisory.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
angular angularfrom 20.0.0 before 20.3.28fixed in 20.3.28from 21.0.0 before 21.2.20fixed in 21.2.20from 22.0.0 before 22.1.0fixed in 22.1.0from 19.0.0 through 19.2.25no fix listed20.3.2821.2.2022.1.0not listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources