Servers and applications
CVE-2026-88058
SSR XSS via Unescaped Processing Instruction (<?...?>) Nodes in Fallback Raw-Content Elements
- Severity
- High 8.6
- Published
- 27 Aug 2026
- Last changed
- 10 Sept 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 20.3.30, 21.2.22, 22.1.4
- Exploit chance
- 0.3% in the next 30 daysHigher than 20% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · No login needed · Needs someone to view a page or file
- Attacker can
- Read data · Change data
- CVSS vector
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- Also known as
- GHSA-j3r3-mxqp-r2p4
- Sources
- Project advisories (GitHub)
Description
An XSS vulnerability exists in @angular/platform-server during server-side rendering (SSR) HTML serialization of ProcessingInstruction DOM nodes (<?target data?>, nodeType === 7) when nested inside fallback raw-content elements (, , , ). While processing instruction data escaped > to >, it did not check for or escape matching closing tags of ancestor fallback elements (e.g., ). When rendered in a browser with scripting enabled, an unescaped closing tag sequence in a processing instruction prematurely closes the fallback raw-content tag and causes subsequent sibling elements to execute as live HTML.
In HTML5 parsing, fallback raw-content elements (, , , ) place the browser's HTML tokenizer into RAWTEXT mode. In RAWTEXT mode, processing instruction tokens (<?...?>) are treated as literal raw text rather than bogus comments, and the parser ignores > or ?>.
Workarounds
- Avoid passing untrusted user input into document.createProcessingInstruction(target, data) when the node is inserted into , , , or during server-side rendering.
- Manually sanitize or replace < with < in any untrusted data passed to processing instruction nodes on the server.
Affected software
| Software | Affected versions |
|---|---|
AngularServers and applications · github:angular/angular |
|
About Angular
web application framework
- Developers who used it in the past year
- 18.2%Stack Overflow Developer Survey 2025, 2025
- Weekly downloads (npm)
- 8,195,583npm, 15 Nov 2026
- GitHub stars
- 101,504GitHub, 15 Nov 2026
- Forks
- 28,216GitHub, 15 Nov 2026
- Latest release
- v22.2.6GitHub, 15 Nov 2026
- Released
- 12 Nov 2026GitHub
- Developer
- GoogleWikidata
- License
- MIT LicenseWikidata
- Written in
- TypeScriptWikidata
- First released
- 15 Sept 2016Wikidata
- First published on GitHub
- 18 Sept 2014GitHub
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 22 | 22.2.6 | Until 30 Jun 2028 |
| 21 | 21.2.26 | Until 30 Jun 2027 |
| 20 | 20.3.35 | Until 28 Nov 2026 |
| 19 | 19.2.25 | Ended 19 May 2026 |
| 18 | 18.2.14 | Ended 21 Nov 2025 |
| 17 | 17.3.12 | Ended 15 May 2025 |
From endoflife.date.
Vulnerabilities in Angular
- In our list
- 39
- Published in the last 12 months
- 38
- Critical, last 12 months
- 1
- High, last 12 months
- 26
- Known exploited
- 0
- GHSA-ffj9-42qx-f38hCross-Site Scripting (XSS) via AngularJS Double Compilation in @angular/upgrade's downgradeComponent()Medium 6.3 9 Nov 2026
- CVE-2026-111753XSRF Token Leakage via URL Parsing Discrepancy in Angular HTTP Client (Incomplete fix for CVE-2025-66035)Medium 5.9 16 Oct 2026
- CVE-2026-111751Denial of Service via RouterLink Query Parameter Retention in Server-Side Rendering (SSR)High 8.2 1 Oct 2026
- CVE-2026-111752Denial of Service via Unmatched Empty-Path Outlet Route Matching in Server-Side Rendering (SSR)High 8.2 30 Sept 2026
- CVE-2026-111754Open Redirect via Protocol-Relative URLs in Server-Side Rendering (SSR)Medium 5.1 30 Sept 2026
- CVE-2026-101896Denial of Service via Numeric URL Matrix Parameters in Server-Side Rendering (SSR)High 8.2 23 Sept 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-88058
- GitHub Advisory Database https://github.com/advisories/GHSA-j3r3-mxqp-r2p4
- github.com https://github.com/angular/angular/security/advisories/GHSA-j3r3-mxqp-r2p4