CVE-2026-88057Angular
Medium 5.3 No auth needed
Follow: this CVE · Angular · Angular We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 4.0
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 10, 2026
- Updated
- Sep 29, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Angular.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @angular/compiler |
≥ 22.0.0 < 22.1.0 |
22.1.0 |
npm install @angular/compiler@22.1.0 |
| npm | @angular/compiler |
≥ 21.0.0 < 21.2.20 |
21.2.20 |
npm install @angular/compiler@21.2.20 |
| npm | @angular/compiler |
≥ 20.0.0 < 20.3.28 |
20.3.28 |
npm install @angular/compiler@20.3.28 |
| npm | @angular/compiler |
≤ 19.2.25 |
no fixed version | — |
| npm | @angular/core |
≥ 22.0.0 < 22.1.0 |
22.1.0 |
npm install @angular/core@22.1.0 |
| npm | @angular/core |
≥ 21.0.0 < 21.2.20 |
21.2.20 |
npm install @angular/core@21.2.20 |
| npm | @angular/core |
≥ 20.0.0 < 20.3.28 |
20.3.28 |
npm install @angular/core@20.3.28 |
| npm | @angular/core |
≤ 19.2.25 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-hh8m-fm6v-7cvg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| angular | angular | ≥ 19.0.0 ≤ 19.2.25 |
| angular | angular | ≥ 20.0.0 < 20.3.28 |
| angular | angular | ≥ 21.0.0 < 21.2.20 |
| angular | angular | ≥ 22.0.0 < 22.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Issue Tracking Patch
- github.com Issue Tracking Patch
- github.com Release Notes
- github.com Release Notes
- github.com Release Notes
- github.com Exploit Vendor Advisory