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.
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-09-11 |
Timeline
- 2026-09-10Published by the CNA18:46 UTC
- 2026-09-10GitHub advisory published (GHSA-hh8m-fm6v-7cvg)same day
- 2026-09-11CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-hh8m-fm6v-7cvg, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm @angular/compiler | through 19.2.25 | |
| npm @angular/compiler | from 20.0.0 before 20.3.28 | 20.3.28 |
| npm @angular/compiler | from 21.0.0 before 21.2.20 | 21.2.20 |
| npm @angular/compiler | from 22.0.0 before 22.1.0 | 22.1.0 |
| npm @angular/core | through 19.2.25 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| angular angular | from 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 listed | 20.3.2821.2.2022.1.0not listed |
References
- https://github.com/angular/angular/commit/2f96c8020f85ccb715a76de4b79a0c680c2c7264
- https://github.com/angular/angular/commit/6afe6fa781c2f0931f0aedd729b9884a8fe212ee
- https://github.com/angular/angular/commit/6caa298dee58319b2d674dc91364e26ffe3ecb2b
- https://github.com/angular/angular/issues/69550
- https://github.com/angular/angular/pull/69558
- https://github.com/angular/angular/security/advisories/GHSA-hh8m-fm6v-7cvg
- https://github.com/angular/angular/releases/tag/v20.3.28
- https://github.com/angular/angular/releases/tag/v21.2.20
- https://github.com/angular/angular/releases/tag/v22.1.0
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-88057'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-88057'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-88057'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-88057'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).