XSS in @Angular Compiler
CVE-2026-69151
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (26.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 27th percentile — 26.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- @Angular Compiler — versions >= 22.0.0-next.0, < 22.0.1, >= 21.0.0-next.0, < 21.2.19, < 20.3.27
- @Angular Core — versions >= 22.0.0-next.0, < 22.0.1, >= 21.0.0-next.0, < 21.2.19, < 20.3.27
- Angular — versions >= 22.0.0-next.0, < 22.0.1, >= 21.0.0-next.0, < 21.2.19, < 20.3.27
Weakness classification (CWE)
References
- github.com/angular/angular/commit/417a4071a776464d549509ed3aec121dbd2fda5e (Patch)
- github.com/angular/angular/commit/6c41f5ca01c0ae045fc7d929b72853a11eb55865 (Patch)
- github.com/angular/angular/pull/68821 (Issue Tracking)
- github.com/angular/angular/pull/69306 (Issue Tracking)
- github.com/angular/angular/security/advisories/GHSA-jj27-h5hq-8x99 (Mitigation, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-69151?
- CVE-2026-69151 is a medium-severity vulnerability in @Angular Compiler, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2026-08-03.
- How severe is CVE-2026-69151?
- Medium severity. CVSS v3 base score is 6.1 out of 10.