{
  "id": "CVE-2025-66412",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-66412",
  "published_at": "2025-12-01T22:35:59.211Z",
  "title": "Angular Stored XSS Vulnerability via SVG Animation, SVG URL and MathML Attributes",
  "vendor": "angular",
  "product": "angular",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.5,
    "nvd": 5.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "angular",
        "product": "angular",
        "ranges": [
          "\u003e= 21.0.0-next.0 \u003c 21.0.2",
          "\u003e= 20.0.0-next.0 \u003c 20.3.15",
          "\u003e= 19.0.0-next.0 \u003c 19.2.17",
          "\u003c= 18.2.14"
        ],
        "fixed_in": [
          "21.0.2",
          "20.3.15",
          "19.2.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade angular to 21.0.2 or 20.3.15 or 19.2.17 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/angular/angular/security/advisories/GHSA-v4hv-rgfq-gp49"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/angular/angular/commit/1c6b0704fb63d051fab8acff84d076abfbc4893a"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
