CVE-2025-66412
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.383% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T20:18:55.078Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 8.5 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T19:05:21.562Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T20:18:55.078Z | CISA KEV |
| cvss | verified | 2026-11-19T19:05:21.562Z | CVE Program |
| epss | verified | 2026-11-19T20:08:09.007Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:47.446Z | OSV |
| affected | verified | 2026-11-19T19:05:21.562Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:05:21.562Z | CVE Program |
Affected versions and configuration
angular angular; default status: unknown: >= 21.0.0-next.0 < 21.0.2 [affected; scheme: unspecified]; >= 20.0.0-next.0 < 20.3.15 [affected; scheme: unspecified]; >= 19.0.0-next.0 < 19.2.17 [affected; scheme: unspecified]; <= 18.2.14 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "angular",
"product": "angular",
"versions": [
{
"status": "affected",
"version": ">= 21.0.0-next.0 < 21.0.2"
},
{
"status": "affected",
"version": ">= 20.0.0-next.0 < 20.3.15"
},
{
"status": "affected",
"version": ">= 19.0.0-next.0 < 19.2.17"
},
{
"status": "affected",
"version": "<= 18.2.14"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-66412",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-12-02T14:12:58.051369Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-12-02T14:13:07.801Z"
}
},
{
"affected": [
{
"vendor": "Siemens",
"product": "RUGGEDCOM RST2428P",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "V4.0",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
},
{
"vendor": "Siemens",
"product": "SIDIS Prime",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "V4.0.800",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
],
"x_adpType": "supplier",
"references": [
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-485750.html"
},
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-253495.html"
}
],
"providerMetadata": {
"orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
"shortName": "siemens-SADP",
"dateUpdated": "2026-06-02T13:00:31.963Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-v4hv-rgfq-gp49",
"aliases": [
"CVE-2025-66412"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "21.0.0-next.0"
},
{
"fixed": "21.0.2"
}
]
}
],
"package": {
"name": "@angular/compiler",
"purl": "pkg:npm/%40angular/compiler",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-v4hv-rgfq-gp49/GHSA-v4hv-rgfq-gp49.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "20.0.0-next.0"
},
{
"fixed": "20.3.15"
}
]
}
],
"package": {
"name": "@angular/compiler",
"purl": "pkg:npm/%40angular/compiler",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-v4hv-rgfq-gp49/GHSA-v4hv-rgfq-gp49.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "19.0.0-next.0"
},
{
"fixed": "19.2.17"
}
]
}
],
"package": {
"name": "@angular/compiler",
"purl": "pkg:npm/%40angular/compiler",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-v4hv-rgfq-gp49/GHSA-v4hv-rgfq-gp49.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"last_affected": "18.2.14"
}
]
}
],
"package": {
"name": "@angular/compiler",
"purl": "pkg:npm/%40angular/compiler",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-v4hv-rgfq-gp49/GHSA-v4hv-rgfq-gp49.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/angular/angular/security/advisories/GHSA-v4hv-rgfq-gp49",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-66412",
"type": "ADVISORY"
},
{
"url": "https://github.com/angular/angular/commit/1c6b0704fb63d051fab8acff84d076abfbc4893a",
"type": "WEB"
},
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-253495.html",
"type": "WEB"
},
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-485750.html",
"type": "WEB"
},
{
"url": "https://github.com/angular/angular",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2025-12-01T23:15:53Z",
"github_reviewed_at": "2025-12-02T01:20:30Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | @angular/compiler | Not a distribution channel | 21.0.2 | Official record |
| ecosystem-boundary | npm / package | @angular/compiler | Not a distribution channel | 20.3.15 | Official record |
| ecosystem-boundary | npm / package | @angular/compiler | Not a distribution channel | 19.2.17 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T19:03:47.446ZArchived source JSON
Source publication: 2025-12-02T01:20:30.000Z
Source modification: 2026-09-10T03:50:32.096ZDocument fingerprint
eeea7bb99628ed806be3680db05c803eac5ac06e897631d7eb708621512e9634 - CVE ProgramConsulted: 2026-11-19T19:05:21.562ZArchived source JSON
Source publication: 2025-12-01T22:35:59.211Z
Source modification: 2026-06-02T13:00:31.963ZDocument fingerprint
f4174a1d615ceefcc2bdbe1655d444d30561fcee169b0b9e9cd743768ca4b0f5 - CISA KEVConsulted: 2026-11-19T20:18:55.078ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T20:08:09.007ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
25914c85762092a1ceeb64f91674b1e6f31834dc2690a6c182b8a5354ac5cff3
Official status history
- UNKNOWN → PUBLISHED · · evidence