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.
Severity (CVSS)
| Base score | 7.6 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| 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/security/advisories/GHSA-jj27-h5hq-8x99 (x_refsource_CONFIRM)
- https://github.com/angular/angular/pull/68821 (x_refsource_MISC)
- https://github.com/angular/angular/pull/69306 (x_refsource_MISC)
- https://github.com/angular/angular/commit/417a4071a776464d549509ed3aec121dbd2fda5e (x_refsource_MISC)
- https://github.com/angular/angular/commit/6c41f5ca01c0ae045fc7d929b72853a11eb55865 (x_refsource_MISC)
Generated from the official CVE List on 04 Aug 2026 07:02 UTC.