{"id":"CVE-2026-88058","published":"2026-09-10T18:56:03Z","modified":"2026-09-11T15:14:37Z","title":"Angular: SSR XSS via Unescaped Processing Instruction (<?...?>) Nodes in Fallback Raw-Content Elements","vendor":"angular","product":"angular","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00498,"percentile":0.35572,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/angular/angular/security/advisories/GHSA-j3r3-mxqp-r2p4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/angular/angular/issues/70146","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/commit/73d8bbd27cb46495426d4132975a1355b47ad915","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/commit/89b20568dfaee1ec8e0b3bcf1872acdddd2f4fef","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/commit/ba3bc47b20b3d12f5eb141ec9c651373ae4d15e8","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/domino/commit/04f987dc08ff3736b427f50941adf1722458528f","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/releases/tag/v20.3.30","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/releases/tag/v21.2.22","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/releases/tag/v22.1.4","tags":["x_refsource_MISC"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":7.11},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"angular","affectedVersions":[{"vendor":"angular","product":"angular","versions":["<= 19.2.25",">= 20.0.0, < 20.3.30",">= 21.0.0, < 21.2.22",">= 22.0.0, < 22.1.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-11T15:14:28.505071Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@angular/platform-server","vulnerableRanges":[">=22.0.0, <22.1.4",">=21.0.0, <21.2.22",">=20.0.0, <20.3.30","<=19.2.25"],"patched":["22.1.4","21.2.22","20.3.30"],"from":["GHSA-j3r3-mxqp-r2p4"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-75681","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-41423","published":"2026-05-08","fixed":"22.0.0-next.8","kev":false},{"cve":"CVE-2026-69149","published":"2026-08-03","fixed":"22.0.7","kev":false,"link":{"from":"CVE-2026-69149","to":"CVE-2026-88058","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@angular/platform-server","fromFixed":"22.0.7","toFixed":"22.1.4","daysApart":38},{"kind":"version-step","provenance":"source","package":"npm:@angular/platform-server","fromFixed":"21.2.19","toFixed":"21.2.22","daysApart":38},{"kind":"similar","provenance":"machine","score":0.35,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-88056","published":"2026-09-10","fixed":"22.1.4","kev":false},{"cve":"CVE-2026-88058","published":"2026-09-10","fixed":"22.1.4","kev":false},{"cve":"CVE-2026-88060","published":"2026-09-10","fixed":"22.1.4","kev":false},{"cve":"CVE-2026-101895","published":"2026-10-14","fixed":"22.1.6","kev":false},{"cve":"CVE-2026-111754","published":"2026-11-03","fixed":"22.2.1","kev":false}],"package":"npm:@angular/platform-server"}}