Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @angular/platform-server
  4. ›
  5. CVE-2026-88058

CVE-2026-88058: Angular SSR: XSS via Unescaped Processing Instruction (<?...?>) Nodes in Fallback Raw-Content Elements

September 28, 2026

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 (<noscript>, <iframe>, <noembed>, <noframes>). While processing instruction data escaped > to &gt;, it did not check for or escape matching closing tags of ancestor fallback elements (e.g., </noscript>). 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.

References

  • github.com/advisories/GHSA-j3r3-mxqp-r2p4
  • 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/angular/releases/tag/v20.3.30
  • github.com/angular/angular/releases/tag/v21.2.22
  • github.com/angular/angular/releases/tag/v22.1.4
  • github.com/angular/angular/security/advisories/GHSA-j3r3-mxqp-r2p4
  • github.com/angular/domino/commit/04f987dc08ff3736b427f50941adf1722458528f
  • nvd.nist.gov/vuln/detail/CVE-2026-88058

Code Behaviors & Features

Detect and mitigate CVE-2026-88058 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 19.2.25, all versions starting from 20.0.0 before 20.3.30, all versions starting from 21.0.0 before 21.2.22, all versions starting from 22.0.0 before 22.1.4

Fixed versions

  • 20.3.30
  • 21.2.22
  • 22.1.4

Solution

Upgrade to versions 20.3.30, 21.2.22, 22.1.4 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/@angular/platform-server/CVE-2026-88058.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 30 Oct 2026 12:15:32 +0000.