{"id":"CVE-2026-69151","state":"PUBLISHED","title":"Angular i18n: Cross-Site Scripting (XSS) via event-handler attributes","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.","publishedAt":"2026-08-03T16:23:34.121Z","updatedAt":"2026-08-03T21:19:24.394Z","severity":{"score":7.6,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["angular angular","@angular compiler","@angular core"],"affected":[{"vendor":"angular","product":"angular","versions":[{"version":">= 22.0.0-next.0, < 22.0.1","status":"affected"},{"version":">= 21.0.0-next.0, < 21.2.19","status":"affected"},{"version":"< 20.3.27","status":"affected"}]},{"vendor":"@angular","product":"compiler","versions":[{"version":">= 22.0.0-next.0, < 22.0.1","status":"affected"},{"version":">= 21.0.0-next.0, < 21.2.19","status":"affected"},{"version":"< 20.3.27","status":"affected"}]},{"vendor":"@angular","product":"core","versions":[{"version":">= 22.0.0-next.0, < 22.0.1","status":"affected"},{"version":">= 21.0.0-next.0, < 21.2.19","status":"affected"},{"version":"< 20.3.27","status":"affected"}]}],"references":["https://github.com/angular/angular/security/advisories/GHSA-jj27-h5hq-8x99","https://github.com/angular/angular/pull/68821","https://github.com/angular/angular/pull/69306","https://github.com/angular/angular/commit/417a4071a776464d549509ed3aec121dbd2fda5e","https://github.com/angular/angular/commit/6c41f5ca01c0ae045fc7d929b72853a11eb55865"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/69xxx/CVE-2026-69151.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-69151","state":"PUBLISHED","datePublished":"2026-08-03T16:23:34.121Z","dateUpdated":"2026-08-03T21:19:24.394Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-03T15:47:09.654Z"},"containers":{"cna":{"title":"Angular i18n: Cross-Site Scripting (XSS) via event-handler attributes","descriptions":[{"lang":"en","value":"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":[{"vendor":"angular","product":"angular","versions":[{"version":">= 22.0.0-next.0, < 22.0.1","status":"affected"},{"version":">= 21.0.0-next.0, < 21.2.19","status":"affected"},{"version":"< 20.3.27","status":"affected"}]},{"vendor":"@angular","product":"compiler","versions":[{"version":">= 22.0.0-next.0, < 22.0.1","status":"affected"},{"version":">= 21.0.0-next.0, < 21.2.19","status":"affected"},{"version":"< 20.3.27","status":"affected"}]},{"vendor":"@angular","product":"core","versions":[{"version":">= 22.0.0-next.0, < 22.0.1","status":"affected"},{"version":">= 21.0.0-next.0, < 21.2.19","status":"affected"},{"version":"< 20.3.27","status":"affected"}]}],"references":[{"url":"https://github.com/angular/angular/security/advisories/GHSA-jj27-h5hq-8x99","name":"https://github.com/angular/angular/security/advisories/GHSA-jj27-h5hq-8x99","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/angular/angular/pull/68821","name":"https://github.com/angular/angular/pull/68821","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/pull/69306","name":"https://github.com/angular/angular/pull/69306","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/commit/417a4071a776464d549509ed3aec121dbd2fda5e","name":"https://github.com/angular/angular/commit/417a4071a776464d549509ed3aec121dbd2fda5e","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/commit/6c41f5ca01c0ae045fc7d929b72853a11eb55865","name":"https://github.com/angular/angular/commit/6c41f5ca01c0ae045fc7d929b72853a11eb55865","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.6,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-03T16:23:34.121Z"},"source":{"advisory":"GHSA-jj27-h5hq-8x99","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-03T21:17:58.775539Z","id":"CVE-2026-69151","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-03T21:19:24.394Z"}}]}}}