CVE-2026-88057
Angular: Sanitization bypass via directive host bindings on concrete host elements in @angular/core and @angular/compiler
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 20.3.28, 21.2.20, and 22.1.0, Angular's compiler and runtime in @angular/core and @angular/compiler could omit or select an incorrect sanitizer for security-sensitive directive host bindings because SecurityContext was derived from the declaring directive or component selector rather than the concrete host element. The mismatch is reachable through hostDirectives composition, inherited HostBinding declarations, createComponent with a custom hostElement or dynamic directives, SVG/MathML namespace elements, and tag-neutral selectors such as :not(...). Attacker-controlled href, src, action, xlink:href, or data values can therefore reach DOM attributes without Angular's built-in sanitizer and execute arbitrary JavaScript in the user's browser context. Applications unable to upgrade can use DomSanitizer.sanitize with SecurityContext.URL before assignment or restrict inputs to validated HTTP and HTTPS URL schemes. This issue is fixed in versions 20.3.28, 21.2.20, and 22.1.0.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.372% · 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:N/VI:N/VA:N/SC:L/SI:L/SA:N
Assessment source · checked 2026-11-19T12:59:21.282Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T18:36:01.564Z | CISA KEV |
| cvss | verified | 2026-11-19T12:59:21.282Z | CVE Program |
| epss | verified | 2026-11-19T18:27:29.842Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:29.390Z | OSV |
| affected | verified | 2026-11-19T12:59:21.282Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:59:21.282Z | CVE Program |
Affected versions and configuration
angular angular; default status: unknown: <= 19.2.25 [affected; scheme: unspecified]; >= 20.0.0, < 20.3.28 [affected; scheme: unspecified]; >= 21.0.0, < 21.2.20 [affected; scheme: unspecified]; >= 22.0.0, < 22.1.0 [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": "<= 19.2.25"
},
{
"status": "affected",
"version": ">= 20.0.0, < 20.3.28"
},
{
"status": "affected",
"version": ">= 21.0.0, < 21.2.20"
},
{
"status": "affected",
"version": ">= 22.0.0, < 22.1.0"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-88057",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-09-11T16:34:33.902581Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-09-11T20:32:49.884Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-hh8m-fm6v-7cvg",
"aliases": [
"CVE-2026-88057"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "22.0.0"
},
{
"fixed": "22.1.0"
}
]
}
],
"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/09/GHSA-hh8m-fm6v-7cvg/GHSA-hh8m-fm6v-7cvg.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "21.0.0"
},
{
"fixed": "21.2.20"
}
]
}
],
"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/09/GHSA-hh8m-fm6v-7cvg/GHSA-hh8m-fm6v-7cvg.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "20.0.0"
},
{
"fixed": "20.3.28"
}
]
}
],
"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/09/GHSA-hh8m-fm6v-7cvg/GHSA-hh8m-fm6v-7cvg.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"last_affected": "19.2.25"
}
]
}
],
"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/09/GHSA-hh8m-fm6v-7cvg/GHSA-hh8m-fm6v-7cvg.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/angular/angular/security/advisories/GHSA-hh8m-fm6v-7cvg",
"type": "WEB"
},
{
"url": "https://github.com/angular/angular/issues/69550",
"type": "WEB"
},
{
"url": "https://github.com/angular/angular/pull/69558",
"type": "WEB"
},
{
"url": "https://github.com/angular/angular/commit/2f96c8020f85ccb715a76de4b79a0c680c2c7264",
"type": "WEB"
},
{
"url": "https://github.com/angular/angular/commit/6afe6fa781c2f0931f0aedd729b9884a8fe212ee",
"type": "WEB"
},
{
"url": "https://github.com/angular/angular/commit/6caa298dee58319b2d674dc91364e26ffe3ecb2b",
"type": "WEB"
},
{
"url": "https://github.com/angular/angular",
"type": "PACKAGE"
},
{
"url": "https://github.com/angular/angular/releases/tag/v20.3.28",
"type": "WEB"
},
{
"url": "https://github.com/angular/angular/releases/tag/v21.2.20",
"type": "WEB"
},
{
"url": "https://github.com/angular/angular/releases/tag/v22.1.0",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2026-09-10T20:18:02Z"
}
}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 | 22.1.0 | Official record |
| ecosystem-boundary | npm / package | @angular/core | Not a distribution channel | 21.2.20 | Official record |
| ecosystem-boundary | npm / package | @angular/core | Not a distribution channel | 20.3.28 | 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-09-10T20:18:02.000Z
Source modification: 2026-09-10T20:30:04.438ZDocument fingerprint
50ac64eba01ffd544ad15a43741ce9d8e49258acad8b58ab2489b3fcb5715606 - CVE ProgramConsulted: 2026-11-19T12:59:21.282ZArchived source JSON
Source publication: 2026-09-10T18:46:51.847Z
Source modification: 2026-09-11T20:32:49.884ZDocument fingerprint
4cfe564cdde83e4f654b9754ec2a9b4ddeb97e12313f7389545c336da4f9859d - FIRST EPSSConsulted: 2026-11-19T18:27:29.842ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
e4d42cc0b951ccfed7b134f95f4a42ad61f9c8971cb8ddae3e9e21a79d459614 - 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