Angular: SSR XSS via Unescaped <template> Content Across DocumentFragment Boundaries in Fallback Raw-Content Elements
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
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 untrusted input inside template content nested in fallback raw-content elements such as noscript, iframe, noembed, and noframes. The Domino serializer's fallbackRawContentTags traversal stopped at the DocumentFragment used by template.content, so matching closing tags in xmp, style, script, comments, or text nodes were not escaped. Standard interpolation with comments or text nodes is reachable without relaxed schemas; literal xmp or style requires CUSTOM_ELEMENTS_SCHEMA or NO_ERRORS_SCHEMA, while Renderer2 imperative DOM construction is unconditionally affected. When HTML5 RAWTEXT browser parsing encounters the unescaped closing tag, it exits the fallback container and interprets trailing markup as active DOM elements, enabling arbitrary JavaScript execution. This issue is fixed in versions 20.3.30, 21.2.22, and 22.1.4.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| angular | angular | up to 19.2.25; 20.0.0 to before 20.3.30; 21.0.0 to before 21.2.22; 22.0.0 to before 22.1.4 | 20.3.30, 21.2.22, 22.1.4 | Patch available | CNA |
| — | @angular/platform-server (npm) | 22.0.0 to before 22.1.4 | 22.1.4 | Patch available | GHSA-v3p8-whq6-r5jg |
| — | @angular/platform-server (npm) | 21.0.0 to before 21.2.22 | 21.2.22 | Patch available | GHSA-v3p8-whq6-r5jg |
| — | @angular/platform-server (npm) | 20.0.0 to before 20.3.30 | 20.3.30 | Patch available | GHSA-v3p8-whq6-r5jg |
| — | @angular/platform-server (npm) | up to 19.2.25 | — | No fix listed | GHSA-v3p8-whq6-r5jg |
- angular Vendorangular Affected up to 19.2.25; 20.0.0 to before 20.3.30; 21.0.0 to before 21.2.22; 22.0.0 to before 22.1.4 Fixed in 20.3.30, 21.2.22, 22.1.4 Patch available CNA
- @angular/platform-server (npm) Vendor— Affected 22.0.0 to before 22.1.4 Fixed in 22.1.4 Patch available GHSA-v3p8-whq6-r5jg
- @angular/platform-server (npm) Vendor— Affected 21.0.0 to before 21.2.22 Fixed in 21.2.22 Patch available GHSA-v3p8-whq6-r5jg
- @angular/platform-server (npm) Vendor— Affected 20.0.0 to before 20.3.30 Fixed in 20.3.30 Patch available GHSA-v3p8-whq6-r5jg
- @angular/platform-server (npm) Vendor— Affected up to 19.2.25 Fixed in — No fix listed GHSA-v3p8-whq6-r5jg
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* | 19.0.0 – 19.2.25; 20.0.0 to before 20.3.30; 21.0.0 to before 21.2.22; 22.0.0 to before 22.1.4 | Vulnerable | angular |
- cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* Versions 19.0.0 – 19.2.25; 20.0.0 to before 20.3.30; 21.0.0 to before 21.2.22; 22.0.0 to before 22.1.4 Vulnerable ·angular
Remediation
- Fix · CNA angular (angular) Fixed in 20.3.30, 21.2.22, 22.1.4
- Fix · GHSA-v3p8-whq6-r5jg @angular/platform-server (npm) Fixed in 22.1.4 Advisory →
- Fix · GHSA-v3p8-whq6-r5jg @angular/platform-server (npm) Fixed in 21.2.22 Advisory →
- Fix · GHSA-v3p8-whq6-r5jg @angular/platform-server (npm) Fixed in 20.3.30 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-88060
- 2026-10-03 Alias added: GHSA-v3p8-whq6-r5jg
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
Patch 4
- https://github.com/angular/angular/commit/73d8bbd27cb46495426d4132975a1355b47ad915
- https://github.com/angular/angular/commit/89b20568dfaee1ec8e0b3bcf1872acdddd2f4fef
- https://github.com/angular/angular/commit/ba3bc47b20b3d12f5eb141ec9c651373ae4d15e8
- https://github.com/angular/domino/commit/04f987dc08ff3736b427f50941adf1722458528f
More Angular vulnerabilities
- TI-2026-60076 Angular: SSRF and Cross-Origin Credential Disclosure via URL Resolution Discrepancy in SSR CVSS 4.0HIGH 8.6
- TI-2026-60078 Angular: SSR XSS via Unescaped Processing Instruction (<?...?>) Nodes in Fallback Raw-Content Elements CVSS 4.0HIGH 8.6
- TI-2025-37971 A reflected cross-site scripting (XSS) vulnerability in CKeditor v46.1.0 & Angular… CVSS 3.1MEDIUM 5.4
- TI-2026-36931 Angular: URL Parser Differential in @angular/platform-server leading to SSRF Allowlist Bypass CVSS 4.0HIGH 8.8
- TI-2026-34131 Angular: SSRF via Hostname Hijacking in @angular/platform-server CVSS 4.0HIGH 8.8
- TI-2026-48469 Angular: Cache-Key Ambiguity in HttpTransferCache Leading to Cross-Request Response Reuse and State Poisoning CVSS 4.0HIGH 8.8
Sources
- CVE-2026-88060 · CVE Program
- CVE-2026-88060 · NVD
- FIRST EPSS
- GHSA-v3p8-whq6-r5jg · GitHub Advisory Database · CC BY 4.0
- CVE-2026-88060 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences