CVE-2026-88057Angular: Sanitization bypass via directive host bindings on concrete host elements in…
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.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | angular.js | Fix pending | UBUNTU-CVE-2026-88057 | |
| Ubuntu 26.04 | angular.js | Under investigation | UBUNTU-CVE-2026-88057 | |
| Ubuntu 24.04 | angular.js | Under investigation | UBUNTU-CVE-2026-88057 | |
| Ubuntu 22.04 | angular.js | Under investigation | UBUNTU-CVE-2026-88057 | |
| Ubuntu 20.04 | angular.js | Fix pending | UBUNTU-CVE-2026-88057 | |
| Ubuntu 18.04 | angular.js | Fix pending | UBUNTU-CVE-2026-88057 | |
| Ubuntu 16.04 | angular.js | Fix pending | UBUNTU-CVE-2026-88057 | |
| Debian 13 | angular.js | Fix pending | DEBIAN-CVE-2026-88057 | |
| Debian 12 | angular.js | Fix pending | DEBIAN-CVE-2026-88057 | |
| Red Hat Enterprise Linux 10 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | gjs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | gjs-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | intel-cmt-cat | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | intel-cmt-cat-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | librados-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | librados2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libradospp-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | librbd-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | librbd1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | thunderbird | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | aspnetcore-runtime-6.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | aspnetcore-runtime-7.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | aspnetcore-targeting-pack-6.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | aspnetcore-targeting-pack-7.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-apphost-pack-6.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-apphost-pack-7.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-host | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-hostfxr-6.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-hostfxr-7.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-runtime-6.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-runtime-7.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-6.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-6.0-source-built-artifacts | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-7.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-7.0-source-built-artifacts | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-targeting-pack-6.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-targeting-pack-7.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-templates-6.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-templates-7.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet6.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet7.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | firefox-x11 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gjs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gjs-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | intel-cmt-cat | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | intel-cmt-cat-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | librados-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | librados2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libradospp-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | librbd-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | librbd1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | netstandard-targeting-pack-2.1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | thunderbird | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | intel-cmt-cat | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | intel-cmt-cat-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mozjs60 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mozjs60-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | firefox | Fix pending Fix deferred | ||
| npm library | @angular/compiler | Fixed | 20.3.28 | GHSA-hh8m-fm6v-7cvg |
| npm library | @angular/core | Fixed | 20.3.28 | GHSA-hh8m-fm6v-7cvg |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- angular: affected: <= 19.2.25, >= 20.0.0, < 20.3.28, >= 21.0.0, < 21.2.20, >= 22.0.0, < 22.1.0
References
- https://github.com/angular/angular/security/advisories/GHSA-hh8m-fm6v-7cvg
- https://github.com/angular/angular/issues/69550
- https://github.com/angular/angular/pull/69558
- https://github.com/angular/angular/commit/2f96c8020f85ccb715a76de4b79a0c680c2c7264
- https://github.com/angular/angular/commit/6afe6fa781c2f0931f0aedd729b9884a8fe212ee
- https://github.com/angular/angular/commit/6caa298dee58319b2d674dc91364e26ffe3ecb2b
- https://github.com/angular/angular/releases/tag/v20.3.28
- https://github.com/angular/angular/releases/tag/v21.2.20
- https://github.com/angular/angular/releases/tag/v22.1.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.