CVE-2026-69151High▾ TwilightAngular i18n: Cross-Site Scripting (XSS) via event-handler attributes
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 41.3 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Aug 4.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via GHSA
0.3%
A Cross-Site Scripting (XSS) vulnerability has been identified in the Angular compiler's internationalization (i18n) pipeline. Although Angular disallows binding to event-handler attributes such as onclick and onerror through standard attribute validation (validateAttribute() / validateProperty()), the i18n metadata collection path allowed these same attribute names to be marked for translation using i18n-on* attributes (e.g., i18n-onerror).
When exploited, a lower-trust translation file could replace a benign static handler such as onerror="void 0" with arbitrary executable JavaScript in the localized build.
The following example illustrates a vulnerable pattern:
<img src="foo.jpg" onerror="void 0" i18n-onerror />
When exploited, this vulnerability allows arbitrary JavaScript execution within the context of the vulnerable application's domain if an attacker can control or influence the translation files used during localization. This can lead to:
Ensure that static event-handler attributes (e.g., onerror, onclick) are never marked for internationalization (i18n-on*) in application templates, and ensure translation files are sourced from trusted origins.
@angular/compiler >= 22.0.0-next.0, < 22.0.1@angular/compiler >= 21.0.0-next.0, < 21.2.19@angular/compiler >= 20.0.0-next.0, < 20.3.27@angular/compiler <= 19.2.25@angular/core >= 22.0.0-next.0, < 22.0.1@angular/core >= 21.0.0-next.0, < 21.2.19@angular/core >= 20.0.0-next.0, < 20.3.27@angular/core <= 19.2.25Upgrade to a patched release:
@angular/compiler 22.0.1@angular/compiler 21.2.19@angular/compiler 20.3.27@angular/core 22.0.1@angular/core 21.2.19@angular/core 20.3.27Connected by shared product, vendor, weakness, or advisory.
CVE-2026-54265Medium@angular/compiler: Two-Way Property Binding Sanitization Bypass (XSS)
CVE-2026-69149HighAngular SSR: Missing Fallback Raw-Content Serialization Escaping leads to Cross-Site Scripting (XSS)
CVE-2026-54267HighAngular Client Hydration DOM Clobbering & Response-Cache Poisoning
CVE-2026-52725Medium@angular/core: Angular Template and Dynamic Component Namespace Bypass leading to Cross-Site Scripting (XSS)
CVE-2026-50555High@angular/platform-server: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE-2026-50557MediumAngular: Template and Attribute Namespace Sanitization Bypass (XSS)