Vulnerability · Published Mar 13, 2026 · Assigned by GitHub_M

CVE-2026-32635Angular has XSS in i18n attribute bindings

High 8.6

In plain English

A high-severity cross-site scripting in compiler from @angular. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.6High
Exploit odds (30 days)0.5%top 58.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12angular.jsno fix listedDEBIAN-CVE-2026-32635
Debian:13angular.jsno fix listedDEBIAN-CVE-2026-32635
Ubuntu:22.04:LTSangular.jsno fix listedUBUNTU-CVE-2026-32635
Ubuntu:24.04:LTSangular.jsno fix listedUBUNTU-CVE-2026-32635
Ubuntu:25.10angular.jsno fix listedUBUNTU-CVE-2026-32635
Ubuntu:26.04:LTSangular.jsno fix listedUBUNTU-CVE-2026-32635
Ubuntu:26.10angular.jsno fix listedUBUNTU-CVE-2026-32635
npm@angular/compiler19.2.20GHSA-g93w-mfhg-p222
npm@angular/compiler22.0.0-next.3GHSA-g93w-mfhg-p222
npm@angular/compiler21.2.4GHSA-g93w-mfhg-p222
npm@angular/compiler20.3.18GHSA-g93w-mfhg-p222
npm@angular/compilerno fix listedGHSA-g93w-mfhg-p222
npm@angular/core22.0.0-next.3GHSA-g93w-mfhg-p222
npm@angular/coreno fix listedGHSA-g93w-mfhg-p222
npm@angular/core19.2.20GHSA-g93w-mfhg-p222
npm@angular/core20.3.18GHSA-g93w-mfhg-p222
npm@angular/core21.2.4GHSA-g93w-mfhg-p222

Affected products (as reported)

VendorProductVersions
@angular compiler >= 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
@angular core >= 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

Weakness: CWE-79 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

References