CVE-2026-88057Angular cross-site scripting (XSS)
CVSS score
5.3
Medium
CVSS 4.0 from github.com
Exploit probability (EPSS)
0.37%
0.37% chance of exploitation in the next 30 days, higher than 31.8% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running Angular and compare its version with the affected versions.
Update to a fixed version
- Update Angular to 20.3.28, 21.2.20, 22.1.0 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- None
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. 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
Affected products
| Affected products | Versions |
|---|---|
| angular Angular | ≥ 19.0.0, ≤ 19.2.25 · ≥ 20.0.0, < 20.3.28 · ≥ 21.0.0, < 21.2.20 · ≥ 22.0.0, < 22.1.0 · <= 19.2.25 · >= 20.0.0, < 20.3.28 |
Weakness
- CWE-79 cross-site scripting (XSS)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-88057 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-88057?
CVE-2026-88057 has a CVSS 4.0 base score of 5.3 (medium).
Which versions are affected?
Angular Angular (≥ 19.0.0, ≤ 19.2.25; ≥ 20.0.0, < 20.3.28; ≥ 21.0.0, < 21.2.20; ≥ 22.0.0, < 22.1.0; <= 19.2.25; >= 20.0.0, < 20.3.28)
Is there a patch for CVE-2026-88057?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/angular/angular/commit/2f96c8020f85ccb715a76de4b79a0c680c2c7264(Patch)
- github.com/angular/angular/commit/6afe6fa781c2f0931f0aedd729b9884a8fe212ee(Patch)
- github.com/angular/angular/commit/6caa298dee58319b2d674dc91364e26ffe3ecb2b(Patch)
- github.com/angular/angular/issues/69550(Issue Tracking, Patch)
- github.com/angular/angular/pull/69558(Issue Tracking, Patch)
- github.com/angular/angular/security/advisories/GHSA-hh8m-fm6v-7cvg(Exploit, Vendor Advisory)
- github.com/angular/angular/releases/tag/v20.3.28(Release Notes)
- github.com/angular/angular/releases/tag/v21.2.20(Release Notes)
- github.com/angular/angular/releases/tag/v22.1.0(Release Notes)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.