Vulnerability · Published Aug 3, 2026 · Assigned by GitHub_M
CVE-2026-69151Angular i18n: Cross-Site Scripting (XSS) via event-handler attributes
High 7.6
In plain English
A high-severity cross-site scripting in angular from angular. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | angular.js | no fix listed | DEBIAN-CVE-2026-69151 |
| Debian:13 | angular.js | no fix listed | DEBIAN-CVE-2026-69151 |
| Ubuntu:22.04:LTS | angular.js | no fix listed | UBUNTU-CVE-2026-69151 |
| Ubuntu:24.04:LTS | angular.js | no fix listed | UBUNTU-CVE-2026-69151 |
| Ubuntu:26.04:LTS | angular.js | no fix listed | UBUNTU-CVE-2026-69151 |
| Ubuntu:26.10 | angular.js | no fix listed | UBUNTU-CVE-2026-69151 |
| npm | @angular/compiler | 21.2.19 | GHSA-jj27-h5hq-8x99 |
| npm | @angular/compiler | 22.0.1 | GHSA-jj27-h5hq-8x99 |
| npm | @angular/compiler | 20.3.27 | GHSA-jj27-h5hq-8x99 |
| npm | @angular/compiler | no fix listed | GHSA-jj27-h5hq-8x99 |
| npm | @angular/core | 22.0.1 | GHSA-jj27-h5hq-8x99 |
| npm | @angular/core | 21.2.19 | GHSA-jj27-h5hq-8x99 |
| npm | @angular/core | 20.3.27 | GHSA-jj27-h5hq-8x99 |
| npm | @angular/core | no fix listed | GHSA-jj27-h5hq-8x99 |
Affected products (as reported)
Weakness: CWE-79 · 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
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