{"id":"CVE-2026-69151","published":"2026-08-03T16:23:34Z","modified":"2026-08-03T21:19:24Z","title":"Angular i18n: Cross-Site Scripting (XSS) via event-handler attributes","vendor":"angular","product":"angular","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00333,"percentile":0.27171,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/angular/angular/security/advisories/GHSA-jj27-h5hq-8x99","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/angular/angular/pull/68821","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/pull/69306","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/commit/417a4071a776464d549509ed3aec121dbd2fda5e","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/commit/6c41f5ca01c0ae045fc7d929b72853a11eb55865","tags":["x_refsource_MISC"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":5.43},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"angular","affectedVersions":[{"vendor":"angular","product":"angular","versions":[">= 22.0.0-next.0, < 22.0.1",">= 21.0.0-next.0, < 21.2.19","< 20.3.27"]},{"vendor":"@angular","product":"compiler","versions":[">= 22.0.0-next.0, < 22.0.1",">= 21.0.0-next.0, < 21.2.19","< 20.3.27"]},{"vendor":"@angular","product":"core","versions":[">= 22.0.0-next.0, < 22.0.1",">= 21.0.0-next.0, < 21.2.19","< 20.3.27"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-03T21:17:58.775539Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@angular/compiler","vulnerableRanges":[">=22.0.0-next.0, <22.0.1",">=21.0.0-next.0, <21.2.19",">=20.0.0-next.0, <20.3.27","<=19.2.25"],"patched":["22.0.1","21.2.19","20.3.27"],"from":["GHSA-jj27-h5hq-8x99"],"provenance":"source"},{"ecosystem":"npm","package":"@angular/core","vulnerableRanges":[">=22.0.0-next.0, <22.0.1",">=21.0.0-next.0, <21.2.19",">=20.0.0-next.0, <20.3.27","<=19.2.25"],"patched":["22.0.1","21.2.19","20.3.27"],"from":["GHSA-jj27-h5hq-8x99"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting issue in Angular's i18n compiler pipeline, which accepts i18n-onerror and other i18n-on event-handler attributes. An attacker who can supply a lower-trust translation file can use these attributes to replace a static event handler with executable JavaScript, and exploitation requires network access, no authentication, and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:26Z"},"euvd":{"id":"EUVD-2026-52369","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-52725","published":"2026-06-22","fixed":"22.0.0-rc.2","kev":false},{"cve":"CVE-2026-32635","published":"2026-03-13","fixed":"22.0.0-next.3","kev":false,"link":{"from":"CVE-2026-32635","to":"CVE-2026-69151","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@angular/core","fromFixed":"22.0.0-next.3","toFixed":"22.0.1","daysApart":143},{"kind":"version-step","provenance":"source","package":"npm:@angular/compiler","fromFixed":"22.0.0-next.3","toFixed":"22.0.1","daysApart":143}]}},{"cve":"CVE-2026-54267","published":"2026-06-22","fixed":"22.0.1","kev":false,"link":{"from":"CVE-2026-54267","to":"CVE-2026-69151","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@angular/core","fromFixed":"21.2.17","toFixed":"21.2.19","daysApart":42},{"kind":"version-step","provenance":"source","package":"npm:@angular/core","fromFixed":"20.3.25","toFixed":"20.3.27","daysApart":42}]}},{"cve":"CVE-2026-69151","published":"2026-08-03","fixed":"22.0.1","kev":false},{"cve":"CVE-2026-88057","published":"2026-09-10","fixed":"22.1.0","kev":false,"link":{"from":"CVE-2026-69151","to":"CVE-2026-88057","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@angular/core","fromFixed":"22.0.1","toFixed":"22.1.0","daysApart":38},{"kind":"version-step","provenance":"source","package":"npm:@angular/core","fromFixed":"21.2.19","toFixed":"21.2.20","daysApart":38}]}}],"package":"npm:@angular/core"}}