CVE-2026-52725
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_MCVSS: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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T18:36:01.564Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:46.772Z | CVE Program |
| epss | verified | 2026-11-19T18:27:25.272Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:29.390Z | OSV |
| affected | verified | 2026-11-19T12:58:46.772Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:46.772Z | CVE 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 JSONOSV · 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 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/core | Not a distribution channel | 21.2.15 | Official record |
| ecosystem-boundary | npm / package | @angular/core | Not a distribution channel | 22.0.0-rc.2 | Official record |
| ecosystem-boundary | npm / package | @angular/core | Not a distribution channel | 19.2.23 | Official record |
| ecosystem-boundary | npm / package | @angular/core | Not a distribution channel | 20.3.22 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:29.390ZArchived source JSON
Source publication: 2026-06-15T16:51:35.000Z
Source modification: 2026-09-10T03:50:48.470ZDocument fingerprint
50ac64eba01ffd544ad15a43741ce9d8e49258acad8b58ab2489b3fcb5715606 - CVE ProgramConsulted: 2026-11-19T12:58:46.772ZArchived source JSON
Source publication: 2026-06-22T15:18:43.036Z
Source modification: 2026-06-22T15:59:33.229ZDocument fingerprint
f5c21f5358a416ab1f2d80ecb631b20f5eae6f17cdcbc842667127eb6c3cc81e - FIRST EPSSConsulted: 2026-11-19T18:27:25.272ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
38d002e5f22c5de202f294c9fe034d832899c050125c2c7b4f5ded7080c504a4 - CISA KEVConsulted: 2026-11-19T18:36:01.564ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence