{"id":"CVE-2026-88058","state":"PUBLISHED","title":"Angular: SSR XSS via Unescaped Processing Instruction (<?...?>) Nodes in Fallback Raw-Content Elements","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.","publishedAt":"2026-09-10T18:56:03.369Z","updatedAt":"2026-09-11T15:14:37.967Z","severity":{"score":8.6,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["angular angular"],"affected":[{"vendor":"angular","product":"angular","versions":[{"version":"<= 19.2.25","status":"affected"},{"version":">= 20.0.0, < 20.3.30","status":"affected"},{"version":">= 21.0.0, < 21.2.22","status":"affected"},{"version":">= 22.0.0, < 22.1.4","status":"affected"}]}],"references":["https://github.com/angular/angular/security/advisories/GHSA-j3r3-mxqp-r2p4","https://github.com/angular/angular/issues/70146","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","https://github.com/angular/angular/releases/tag/v20.3.30","https://github.com/angular/angular/releases/tag/v21.2.22","https://github.com/angular/angular/releases/tag/v22.1.4"],"weaknesses":["CWE-79","CWE-116"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/88xxx/CVE-2026-88058.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-88058","state":"PUBLISHED","datePublished":"2026-09-10T18:56:03.369Z","dateUpdated":"2026-09-11T15:14:37.967Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-09-09T21:22:45.434Z"},"containers":{"cna":{"title":"Angular: SSR XSS via Unescaped Processing Instruction (<?...?>) Nodes in Fallback Raw-Content Elements","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"angular","product":"angular","versions":[{"version":"<= 19.2.25","status":"affected"},{"version":">= 20.0.0, < 20.3.30","status":"affected"},{"version":">= 21.0.0, < 21.2.22","status":"affected"},{"version":">= 22.0.0, < 22.1.4","status":"affected"}]}],"references":[{"url":"https://github.com/angular/angular/security/advisories/GHSA-j3r3-mxqp-r2p4","name":"https://github.com/angular/angular/security/advisories/GHSA-j3r3-mxqp-r2p4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/angular/angular/issues/70146","name":"https://github.com/angular/angular/issues/70146","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/commit/73d8bbd27cb46495426d4132975a1355b47ad915","name":"https://github.com/angular/angular/commit/73d8bbd27cb46495426d4132975a1355b47ad915","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/commit/89b20568dfaee1ec8e0b3bcf1872acdddd2f4fef","name":"https://github.com/angular/angular/commit/89b20568dfaee1ec8e0b3bcf1872acdddd2f4fef","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/commit/ba3bc47b20b3d12f5eb141ec9c651373ae4d15e8","name":"https://github.com/angular/angular/commit/ba3bc47b20b3d12f5eb141ec9c651373ae4d15e8","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/domino/commit/04f987dc08ff3736b427f50941adf1722458528f","name":"https://github.com/angular/domino/commit/04f987dc08ff3736b427f50941adf1722458528f","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/releases/tag/v20.3.30","name":"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","name":"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","name":"https://github.com/angular/angular/releases/tag/v22.1.4","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.6,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-116","lang":"en","description":"CWE-116: Improper Encoding or Escaping of Output","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-10T18:56:03.369Z"},"source":{"advisory":"GHSA-j3r3-mxqp-r2p4","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/angular/angular/security/advisories/GHSA-j3r3-mxqp-r2p4","tags":["exploit"]},{"url":"https://github.com/angular/angular/issues/70146","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-11T15:14:28.505071Z","id":"CVE-2026-88058","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-11T15:14:37.967Z"}}]}}}