CVE-2026-88058Angular cross-site scripting (XSS)
CVSS score
8.6
High
CVSS 4.0 from github.com
Exploit probability (EPSS)
0.28%
0.28% chance of exploitation in the next 30 days, higher than 20.9% 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.30, 21.2.22, and 22.1.4, Angular server-side rendering (SSR) in @angular/platform-server serializes ProcessingInstruction DOM nodes inside fallback raw-content elements without escaping matching ancestor closing tags. ProcessingInstruction data escaped greater-than characters but left less-than characters untouched and did not inspect fallback ancestors, so data such as a matching closing tag prematurely terminates noscript, iframe, noembed, or noframes containers. The vulnerable nodes cannot be authored through standard Angular templates; reachability requires application or library code using inject(DOCUMENT).createProcessingInstruction with attacker-controlled data or Renderer2 DOM insertion inside a fallback container. In HTML5 RAWTEXT parsing, the premature close causes subsequent sibling elements to be interpreted as live HTML and enables arbitrary JavaScript execution in a victim's browser. This issue is fixed in versions 20.3.30, 21.2.22, and 22.1.4.
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.30, 21.2.22, 22.1.4 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:
- github.com/angular/angular/commit/73d8bbd27cb46495426d4132975a1355b47ad915
- github.com/angular/angular/commit/89b20568dfaee1ec8e0b3bcf1872acdddd2f4fef
- github.com/angular/angular/commit/ba3bc47b20b3d12f5eb141ec9c651373ae4d15e8
- github.com/angular/angular/issues/70146
- github.com/angular/domino/commit/04f987dc08ff3736b427f50941adf1722458528f
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
- High
- Integrity
- High
- 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:H/VI:H/VA:N/SC:N/SI:N/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.30 · ≥ 21.0.0, < 21.2.22 · ≥ 22.0.0, < 22.1.4 · <= 19.2.25 · >= 20.0.0, < 20.3.30 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-88058 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-88058?
CVE-2026-88058 has a CVSS 4.0 base score of 8.6 (high).
Which versions are affected?
Angular Angular (≥ 19.0.0, ≤ 19.2.25; ≥ 20.0.0, < 20.3.30; ≥ 21.0.0, < 21.2.22; ≥ 22.0.0, < 22.1.4; <= 19.2.25; >= 20.0.0, < 20.3.30)
Is there a patch for CVE-2026-88058?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/angular/angular/commit/73d8bbd27cb46495426d4132975a1355b47ad915(Patch)
- github.com/angular/angular/commit/89b20568dfaee1ec8e0b3bcf1872acdddd2f4fef(Patch)
- github.com/angular/angular/commit/ba3bc47b20b3d12f5eb141ec9c651373ae4d15e8(Patch)
- github.com/angular/angular/issues/70146(Issue Tracking, Patch)
- github.com/angular/domino/commit/04f987dc08ff3736b427f50941adf1722458528f(Patch)
- github.com/angular/angular/security/advisories/GHSA-j3r3-mxqp-r2p4(Exploit, Third Party Advisory)
- github.com/angular/angular/releases/tag/v20.3.30(Release Notes)
- github.com/angular/angular/releases/tag/v21.2.22(Release Notes)
- github.com/angular/angular/releases/tag/v22.1.4(Release Notes)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.