CVE
CVE-2026-32635
CNA description
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-next.3, 21.2.4, 20.3.18, and 19.2.20, a Cross-Site Scripting (XSS) vulnerability has been identified in the Angular runtime and compiler. It occurs when the application uses a security-sensitive attribute (for example href on an anchor tag) together with Angular's ability to internationalize attributes. Enabling internationalization for the sensitive attribute by adding i18n-<attribute> name bypasses Angular's built-in sanitization mechanism, which when combined with a data binding to untrusted user-generated data can allow an attacker to inject a malicious script. This vulnerability is fixed in 22.0.0-next.3, 21.2.4, 20.3.18, and 19.2.20.
Affected versions
- @angular/core≥ 22.0.0-next.0, < 22.0.0-next.3Fixed in 22.0.0-next.3
- @angular/core≥ 21.0.0-next.0, < 21.2.4Fixed in 21.2.4
- @angular/core≥ 20.0.0-next.0.0.0, < 20.3.18Fixed in 20.3.18
- @angular/core≥ 19.0.0-next.0, < 19.2.20Fixed in 19.2.20
- @angular/core≥ 17.0.0-next.0, ≤ 18.2.14Affected up to 18.2.14 — see vendor advisory
- @angular/compiler≥ 22.0.0-next.0, < 22.0.0-next.3Fixed in 22.0.0-next.3
- @angular/compiler≥ 21.0.0-next.0, < 21.2.4Fixed in 21.2.4
- @angular/compiler≥ 20.0.0-next.0.0.0, < 20.3.18Fixed in 20.3.18
- @angular/compiler≥ 19.0.0-next.0, < 19.2.20Fixed in 19.2.20
- @angular/compiler≥ 17.0.0-next.0, ≤ 18.2.14Affected up to 18.2.14 — see vendor advisory
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- github.com/angular/angular/pull/67541 · Patch
- github.com/angular/angular/pull/67561 · Patch
- github.com/angular/angular/security/advisories/GHSA-g93w-mfhg-p222 · Mitigation, Vendor Advisory
- github.com/advisories/GHSA-g93w-mfhg-p222 · Third Party Advisory
- osv.dev/vulnerability/GHSA-g93w-mfhg-p222 · Third Party Advisory
- github.com/angular/angular/commit/224e60ecb1b90115baa702f1c06edc1d64d8 · Vendor Advisory
- github.com/angular/angular/commit/78dea55351fb305b33a919c43a6b363137ec · Vendor Advisory
- github.com/angular/angular/commit/8630319f74c9575a21693d875cc7d5252516 · Vendor Advisory
- github.com/angular/angular/commit/ed2d324f9cc12aab6cfa0569ef10b73243a6 · Vendor Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.