Security mailing lists by PureSourceCode

CVE-2025-66412

HIGH 8.5CVSS 4.0

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

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.

Published
1 Dec 2025
Last modified
18 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-v4hv-rgfq-gp49
Sources
NVDJSONOSV GHSA-v4hv-rgfq-gp49JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 8.5 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD angular angular
cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*
<= 18.2.14
NVD angular angular
cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*
>= 19.0.0, < 19.2.17 19.2.17
NVD angular angular
cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*
>= 20.0.0, < 20.3.15 20.3.15
NVD angular angular
cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*
>= 21.0.0, < 21.0.2 21.0.2
OSV npm @angular/compiler >= 21.0.0-next.0, < 21.0.2 21.0.2
OSV npm @angular/compiler >= 20.0.0-next.0, < 20.3.15 20.3.15
OSV npm @angular/compiler >= 19.0.0-next.0, < 19.2.17 19.2.17
OSV npm @angular/compiler <= 18.2.14

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 1 Dec 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Dec 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.