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

CVE-2026-88060: Angular: SSR XSS via Unescaped <template> Content Across DocumentFragment Boundaries in Fallback Raw-Content Elements

September 10, 2026

An XSS vulnerability exists in @angular/platform-server during server-side rendering (SSR) HTML serialization when traversing ancestor tags across <template> element boundaries. When an application renders untrusted user input within raw-text tags (<xmp>, <style>, <script>), comments, or text nodes inside a <template> that is nested within a fallback raw-content element (<noscript>, <iframe>, <noembed>, <noframes>), matching closing tags (e.g., </noscript>) are not escaped during HTML serialization. When rendered in a browser, this unescaped closing tag prematurely terminates the fallback container and executes trailing markup as active DOM elements.

References

  • github.com/advisories/GHSA-v3p8-whq6-r5jg
  • github.com/angular/angular/commit/73d8bbd27cb46495426d4132975a1355b47ad915
  • github.com/angular/angular/commit/89b20568dfaee1ec8e0b3bcf1872acdddd2f4fef
  • github.com/angular/angular/commit/ba3bc47b20b3d12f5eb141ec9c651373ae4d15e8
  • 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-v3p8-whq6-r5jg
  • github.com/angular/domino/commit/04f987dc08ff3736b427f50941adf1722458528f
  • nvd.nist.gov/vuln/detail/CVE-2026-88060

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

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-88060.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Fri, 11 Sep 2026 00:17:56 +0000.