Skip to content
OpenAdvisories
High · 8.6 Public exploit CVE-2026-32635 EUVD-2026-12140GHSA-g93w-mfhg-p222

Angular has XSS in i18n attribute bindings

Published Mar 13, 2026 · Updated Mar 17, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
@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 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 angular.js No fix yet —
Debian 12 angular.js No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 angular.js No fix yet —
Ubuntu 26.04 LTS angular.js No fix yet —
Ubuntu 25.10 angular.js No fix yet —
Ubuntu 24.04 LTS angular.js No fix yet —
Ubuntu 22.04 LTS angular.js No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS angular.js No fix yet —
Ubuntu Pro 18.04 LTS angular.js No fix yet —
Ubuntu Pro 16.04 LTS angular.js No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm @angular/compiler >= 22.0.0-next.0, < 22.0.0-next.3 22.0.0-next.3 GHSA-g93w-mfhg-p222
npm @angular/compiler >= 21.0.0-next.0, < 21.2.4 21.2.4 GHSA-g93w-mfhg-p222
npm @angular/compiler >= 20.0.0-next.0.0.0, < 20.3.18 20.3.18 GHSA-g93w-mfhg-p222
npm @angular/compiler >= 19.0.0-next.0, < 19.2.20 19.2.20 GHSA-g93w-mfhg-p222
npm @angular/compiler >= 17.0.0-next.0, <= 18.2.14 — GHSA-g93w-mfhg-p222
npm @angular/core >= 22.0.0-next.0, < 22.0.0-next.3 22.0.0-next.3 GHSA-g93w-mfhg-p222
npm @angular/core >= 21.0.0-next.0, < 21.2.4 21.2.4 GHSA-g93w-mfhg-p222
npm @angular/core >= 20.0.0-next.0.0.0, < 20.3.18 20.3.18 GHSA-g93w-mfhg-p222
npm @angular/core >= 19.0.0-next.0, < 19.2.20 19.2.20 GHSA-g93w-mfhg-p222
npm @angular/core >= 17.0.0-next.0, <= 18.2.14 — GHSA-g93w-mfhg-p222

Advisories 1

References