Angular i18n: Cross-Site Scripting (XSS) via event-handler attributes
Summary
| CVE | CVE-2026-69151 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-03 17:16:45 UTC |
| Updated | 2026-08-03 17:38:23 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 7.6 HIGH from [email protected]
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Problem Types: CWE-79 | CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 7.6 | HIGH | 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/E:X/C... |
| 4.0 | CNA | DECLARED | 7.6 | HIGH | 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 |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
PresentPrivileges Required
NoneUser Interaction
PassiveConfidentiality
HighIntegrity
HighAvailability
NoneSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Angular | Angular | affected >= 22.0.0-next.0, < 22.0.1 | Not specified |
| CNA | Angular | Angular | affected >= 21.0.0-next.0, < 21.2.19 | Not specified |
| CNA | Angular | Angular | affected < 20.3.27 | Not specified |
| CNA | @angular | Compiler | affected >= 22.0.0-next.0, < 22.0.1 | Not specified |
| CNA | @angular | Compiler | affected >= 21.0.0-next.0, < 21.2.19 | Not specified |
| CNA | @angular | Compiler | affected < 20.3.27 | Not specified |
| CNA | @angular | Core | affected >= 22.0.0-next.0, < 22.0.1 | Not specified |
| CNA | @angular | Core | affected >= 21.0.0-next.0, < 21.2.19 | Not specified |
| CNA | @angular | Core | affected < 20.3.27 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/angular/angular/commit/6c41f5ca01c0ae045fc7d929b72853a11eb55865 | [email protected] | github.com | |
| github.com/angular/angular/pull/69306 | [email protected] | github.com | |
| github.com/angular/angular/commit/417a4071a776464d549509ed3aec121dbd2fda5e | [email protected] | github.com | |
| github.com/angular/angular/security/advisories/GHSA-jj27-h5hq-8x99 | [email protected] | github.com | |
| github.com/angular/angular/pull/68821 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.