@angular compiler
Angular has XSS in i18n attribute bindings
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-next.3, 21.2.4, 20.3.18, and 19.2.20, a Cross-Site Scripting (XSS) vulnerability has been identified in the Angular runtime and compiler. It occurs when the application uses a security-sensitive attribute (for example href on an anchor tag) together with Angular's ability to internationalize attributes. Enabling internationalization for the sensitive attribute by adding i18n-<attribute> name bypasses Angular's built-in sanitization mechanism, which when combined with a data binding to untrusted user-generated data can allow an attacker to inject a malicious script. This vulnerability is fixed in 22.0.0-next.3, 21.2.4, 20.3.18, and 19.2.20.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 22.0.0-next.0, < 22.0.0-next.3
- >= 21.0.0-next.0, < 21.2.4
- >= 20.0.0-next.0, < 20.3.18
- >= 17.0.0.next.0, < 19.2.20
Fixed in 22.0.0-next.3, 21.2.4, 20.3.18, 19.2.20
- >= 22.0.0-next.0, < 22.0.0-next.3
- >= 21.0.0-next.0, < 21.2.4
- >= 20.0.0-next.0, < 20.3.18
- >= 17.0.0.next.0, < 19.2.20
Fixed in 22.0.0-next.3, 21.2.4, 20.3.18, 19.2.20
Mitigation
Upgrade compiler to 22.0.0-next.3 or 21.2.4 or 20.3.18 or 19.2.20 or later.
Upgrade core to 22.0.0-next.3 or 21.2.4 or 20.3.18 or 19.2.20 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| fevar54/CVE-2026-32635-Angular-XSS-Mitigation- | 25 Aug 2026 +165 d | 0 | Informational · detection
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.