8.5High

CVE-2025-66412Angular Stored XSS Vulnerability via SVG Animation, SVG URL and MathML Attributes

angular angular; Siemens RUGGEDCOM RST2428P; Siemens SIDIS Prime Published: (11 months ago)

Description

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.

Weakness (CWE): CWE-79

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
angular angular >= 21.0.0-next.0 < 21.0.2, >= 20.0.0-next.0 < 20.3.15, >= 19.0.0-next.0 < 19.2.17, <= 18.2.14
Siemens RUGGEDCOM RST2428P < V4.0
Siemens SIDIS Prime < V4.0.800

References and patches

CPE matches (NVD) (4)

  • cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* ≤ 18.2.14
  • cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* ≥ 19.0.0 < 19.2.17
  • cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* ≥ 20.0.0 < 20.3.15
  • cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* ≥ 21.0.0 < 21.0.2