Paper/Archive/CVE-2026-32635

CVE-2026-32635

@angular compiler — Angular has XSS in i18n attribute bindings

Description · from the CVE record

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

ProductAffectedFixed inSource
compiler>= 22.0.0-next.0, < 22.0.0-next.3–CNA
compiler>= 21.0.0-next.0, < 21.2.4–CNA
compiler>= 20.0.0-next.0, < 20.3.18–CNA
compiler>= 17.0.0.next.0, < 19.2.20–CNA
core>= 22.0.0-next.0, < 22.0.0-next.3–CNA
core>= 21.0.0-next.0, < 21.2.4–CNA
core>= 20.0.0-next.0, < 20.3.18–CNA
core>= 17.0.0.next.0, < 19.2.20–CNA

Scores by source

NVD9.0CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
GitHub_M (CNA)8.6CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/angular/angular/security/advisories/GHSA-g93w-mfhg-p222refgithub.com/angular/angular/pull/67541refgithub.com/angular/angular/pull/67561