CVE-2026-88057: Angular.js · 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
Affects angular.jsSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@angular/core | Affected
| Fixed in– |
| npm@angular/compiler | Affected
| Fixed in– |
Ubuntu:Pro:16.04:LTSangular.jspkg:deb/ubuntu/angular.js?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in– |
Ubuntu:Pro:18.04:LTSangular.jspkg:deb/ubuntu/angular.js?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in– |
Ubuntu:Pro:20.04:LTSangular.jspkg:deb/ubuntu/angular.js?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu:22.04:LTSangular.jspkg:deb/ubuntu/angular.js?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu:24.04:LTSangular.jspkg:deb/ubuntu/angular.js?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu:26.10angular.jspkg:deb/ubuntu/angular.js?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu:26.04:LTSangular.jspkg:deb/ubuntu/angular.js?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Official patches are available in Angular versions 20.3.28, 21.2.20, and 22.1.0. Users should upgrade to these or later versions to remediate the vulnerability. As a workaround, users are advised to explicitly sanitize inputs or restrict URL schemes to prevent injection of malicious content. Since this is a code-level vulnerability, applying the official fixes is the recommended mitigation.
Description
A vulnerability in Angular's @angular/core and @angular/compiler prior to versions 20.3.28, 21.2.20, and 22.1.0 allows sanitization bypass via directive host bindings on certain host elements. The Angular compiler incorrectly determines the security context based on the directive or component selector instead of the actual host element, potentially allowing untrusted inputs such as javascript: URLs to be inserted into DOM attributes without proper sanitization. This can enable Cross-Site Scripting (XSS) attacks. Official patches are available in the specified versions. Users are advised to explicitly sanitize inputs or restrict URL schemes as a workaround.
References
- github.com/angular/angular/security/advisories/GHSA-hh8m-fm6v-7cvg (opens in a new tab)
- github.com/angular/angular/issues/69550 (opens in a new tab)
- github.com/angular/angular/pull/69558 (opens in a new tab)
- github.com/angular/angular/commit/2f96c8020f85ccb715a76de4b79a0c680c2c7264 (opens in a new tab)
- github.com/angular/angular/commit/6afe6fa781c2f0931f0aedd729b9884a8fe212ee (opens in a new tab)
- github.com/angular/angular/commit/6caa298dee58319b2d674dc91364e26ffe3ecb2b (opens in a new tab)
- github.com/angular/angular (opens in a new tab)
- github.com/angular/angular/releases/tag/v20.3.28 (opens in a new tab)
- github.com/angular/angular/releases/tag/v21.2.20 (opens in a new tab)
- github.com/angular/angular/releases/tag/v22.1.0 (opens in a new tab)
- ubuntu.com/security/CVE-2026-88057 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-88057 (opens in a new tab)