CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2026-52725

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 5.3 · medium

Angular Template and Dynamic Component Namespace Bypass leading to Cross-Site Scripting (XSS)

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, an issue in the @angular/core package allows bypassing script-execution restrictions during dynamic component creation. Specifically, the dynamic component instantiation mechanism (createComponent) failed to reject mounting components directly onto a <script> or namespaced script element (such as <svg:script>). This enabled the initialization of custom components on a tag that executes scripts, allowing attackers to hijack or inject script-executing hosts. This flaw enables an attacker who can control the host element or selector parameter passed to createComponent to initialize or mount an Angular component directly onto a <script> tag, leading to execution of untrusted code or client-side Cross-Site Scripting (XSS). This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.460% · 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-19T18:36:01.564Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 5.3 · published by GitHub_M
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:46.772Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T18:36:01.564ZCISA KEV
cvssverified2026-11-19T12:58:46.772ZCVE Program
epssverified2026-11-19T18:27:25.272ZFIRST EPSS
patchesverified2026-11-19T12:52:29.390ZOSV
affectedverified2026-11-19T12:58:46.772ZCVE Program
lifecycleverified2026-11-19T12:58:46.772ZCVE Program

Affected versions and configuration

angular angular; default status: unknown: >= 22.0.0-next.0 < 22.0.0-rc.2 [affected; scheme: unspecified]; >= 21.0.0-next.0 < 21.2.15 [affected; scheme: unspecified]; >= 20.0.0-next.0 < 20.3.22 [affected; scheme: unspecified]; >= 19.0.0-next.0 < 19.2.22 [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": ">= 22.0.0-next.0 < 22.0.0-rc.2"
        },
        {
          "status": "affected",
          "version": ">= 21.0.0-next.0 < 21.2.15"
        },
        {
          "status": "affected",
          "version": ">= 20.0.0-next.0 < 20.3.22"
        },
        {
          "status": "affected",
          "version": ">= 19.0.0-next.0 < 19.2.22"
        },
        {
          "status": "affected",
          "version": "<= 18.2.14"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-52725",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-06-22T15:59:13.494116Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-06-22T15:59:33.229Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-692r-grfm-v8x7",
  "aliases": [
    "CVE-2026-52725"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "21.0.0-next.0"
            },
            {
              "fixed": "21.2.15"
            }
          ]
        }
      ],
      "package": {
        "name": "@angular/core",
        "purl": "pkg:npm/%40angular/core",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-692r-grfm-v8x7/GHSA-692r-grfm-v8x7.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "22.0.0-next.0"
            },
            {
              "fixed": "22.0.0-rc.2"
            }
          ]
        }
      ],
      "package": {
        "name": "@angular/core",
        "purl": "pkg:npm/%40angular/core",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-692r-grfm-v8x7/GHSA-692r-grfm-v8x7.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "19.0.0-next.0"
            },
            {
              "fixed": "19.2.23"
            }
          ]
        }
      ],
      "package": {
        "name": "@angular/core",
        "purl": "pkg:npm/%40angular/core",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-692r-grfm-v8x7/GHSA-692r-grfm-v8x7.json",
        "last_known_affected_version_range": "< 19.2.22"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "18.2.14"
            }
          ]
        }
      ],
      "package": {
        "name": "@angular/core",
        "purl": "pkg:npm/%40angular/core",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-692r-grfm-v8x7/GHSA-692r-grfm-v8x7.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "20.0.0-next.0"
            },
            {
              "fixed": "20.3.22"
            }
          ]
        }
      ],
      "package": {
        "name": "@angular/core",
        "purl": "pkg:npm/%40angular/core",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-692r-grfm-v8x7/GHSA-692r-grfm-v8x7.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
    },
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/angular/angular/security/advisories/GHSA-692r-grfm-v8x7",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52725",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/angular/angular/pull/68686",
      "type": "WEB"
    },
    {
      "url": "https://github.com/angular/angular/pull/68713",
      "type": "WEB"
    },
    {
      "url": "https://github.com/angular/angular",
      "type": "PACKAGE"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2026-06-22T16:16:38Z",
    "github_reviewed_at": "2026-06-15T16:51:35Z"
  }
}
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/coreNot a distribution channel21.2.15Official record
ecosystem-boundarynpm / package@angular/coreNot a distribution channel22.0.0-rc.2Official record
ecosystem-boundarynpm / package@angular/coreNot a distribution channel19.2.23Official record
ecosystem-boundarynpm / package@angular/coreNot a distribution channel20.3.22Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history