Description
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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| angular | angular | >= 22.0.0-next.0, < 22.0.1; >= 21.0.0-next.0, < 21.2.19; < 20.3.27 |
| @angular | compiler | >= 22.0.0-next.0, < 22.0.1; >= 21.0.0-next.0, < 21.2.19; < 20.3.27 |
| @angular | core | >= 22.0.0-next.0, < 22.0.1; >= 21.0.0-next.0, < 21.2.19; < 20.3.27 |
References
- https://github.com/angular/angular/commit/417a4071a776464d549509ed3aec121dbd2fda5ePatch
- https://github.com/angular/angular/commit/6c41f5ca01c0ae045fc7d929b72853a11eb55865Patch
- https://github.com/angular/angular/pull/68821Issue Tracking
- https://github.com/angular/angular/pull/69306Issue Tracking
- https://github.com/angular/angular/security/advisories/GHSA-jj27-h5hq-8x99Mitigation, Vendor Advisory
Timeline
- Published
- Aug 3, 2026
- Last modified
- Aug 11, 2026
- NVD status
- Analyzed