Medium · published August 3, 2026
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 20.3.27, 21.2.19, and 22.0.1, the Angular compiler i18n pipeline permits i18n-onerror and other i18n-on event-handler attributes, allowing a lower-trust translation file to replace a static handler with executable JavaScript. This issue is fixed in versions 20.3.27, 21.2.19, and 22.0.1.
| Product | Versions | Fixed in |
|---|---|---|
| angular/angular | ≤ 19.2.25 | — |
| angular/angular | ≥ 20.0.0, < 20.3.27 | 20.3.27 |
| angular/angular | ≥ 21.0.0, < 21.2.19 | 21.2.19 |
| angular/angular | ≥ 22.0.0, < 22.0.1 | 22.0.1 |