Skip to main content
← All vulnerabilities
CVE-2025-66412GHSA-V4HV-RGFQ-GP49

Angular Stored XSS Vulnerability via SVG Animation, SVG URL and MathML Attributes

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 21.0.2, 20.3.15, 19.2.17
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 21.0.2, 20.3.15, and 19.2.17, A Stored Cross-Site Scripting (XSS) vulnerability has been identified in the Angular Template Compiler. It occurs because the compiler's internal security schema is incomplete, allowing attackers to bypass Angular's built-in security sanitization. Specifically, the schema fails to classify certain URL-holding attributes (e.g., those that could contain javascript: URLs) as requiring strict URL security, enabling the injection of malicious scripts. This vulnerability is fixed in 21.0.2, 20.3.15, and 19.2.17.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • angular angular

    through 18.2.14

  • @angular/compilernpm

    From 21.0.0-next.0 · fixed in 21.0.2

  • @angular/compilernpm

    From 20.0.0-next.0 · fixed in 20.3.15

  • @angular/compilernpm

    From 19.0.0-next.0 · fixed in 19.2.17

  • @angular/compilernpm

    through 18.2.14

References 2

GitHub · angular/angular