CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2025-66412

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 8.5 · high

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_M
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
Assessment source · checked 2026-11-19T19:05:21.562Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T20:18:55.078ZCISA KEV
cvssverified2026-11-19T19:05:21.562ZCVE Program
epssverified2026-11-19T20:08:09.007ZFIRST EPSS
patchesverified2026-11-19T19:03:47.446ZOSV
affectedverified2026-11-19T19:05:21.562ZCVE Program
lifecycleverified2026-11-19T19:05:21.562ZCVE 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 JSON
OSV · 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 JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / package@angular/compilerNot a distribution channel21.0.2Official record
ecosystem-boundarynpm / package@angular/compilerNot a distribution channel20.3.15Official record
ecosystem-boundarynpm / package@angular/compilerNot a distribution channel19.2.17Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history