# CVE-2026-88057: Angular: Sanitization bypass via directive host bindings on concrete host elements in @angular/core and @angular/compiler

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-10 · Modified: 2026-09-11
- Aliases: UBUNTU-CVE-2026-88057, DEBIAN-CVE-2026-88057, CGA-24j2-h55h-m9wf, CGA-f3rj-9vrg-496f, GHSA-hh8m-fm6v-7cvg
- Record: https://cvemate.com/vulnerability/CVE-2026-88057 · JSON: https://cvemate.com/vulnerability/CVE-2026-88057/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.362%, percentile 32.038%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- angular angular: ≤ 19.2.25 \| ≥ 19.0.0, ≤ 19.2.25 \| ≥ 20.0.0, \< 20.3.28 \| ≥ 21.0.0, \< 21.2.20 \| ≥ 22.0.0, \< 22.1.0
- chainguard katib-suggestion-hyperopt (Chainguard): \< 0.19.0-r40
- wolfi katib-suggestion-hyperopt (Wolfi): \< 0.19.0-r40
- debian angular.js (Debian): All versions (No fix recorded)
- ubuntu angular.js (Ubuntu): All versions (No fix recorded)
- @angular compiler (Npm): ≥ 22.0.0, \< 22.1.0 \| ≥ 21.0.0, \< 21.2.20 \| ≥ 20.0.0, \< 20.3.28 \| ≤ 19.2.25
- @angular core (Npm): ≥ 22.0.0, \< 22.1.0 \| ≥ 21.0.0, \< 21.2.20 \| ≥ 20.0.0, \< 20.3.28 \| ≤ 19.2.25

## 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>
- <https://ubuntu.com/security/CVE-2026-88057>
- <https://www.cve.org/CVERecord?id=CVE-2026-88057>
- <https://security-tracker.debian.org/tracker/CVE-2026-88057>
- <https://github.com/angular/angular>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/88xxx/CVE-2026-88057.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-88057>

---

Data as of 2026-12-05T05:35:18.720Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
