Skip to content
OpenAdvisories
High · 7.6 CVE-2026-69151 EUVD-2026-52369GHSA-jj27-h5hq-8x99

Angular i18n: Cross-Site Scripting (XSS) via event-handler attributes

Published Aug 3, 2026 · Updated Aug 3, 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 20.3.27, 21.2.19, and 22.0.1, the Angular compiler i18n pipeline permits i18n-onerror and other i18n-on event-handler attributes, allowing a lower-trust translation file to replace a static handler with executable JavaScript. This issue is fixed in versions 20.3.27, 21.2.19, and 22.0.1.

Affected products

VendorProductAffectedFixed
angular angular >= 22.0.0-next.0, < 22.0.1, >= 21.0.0-next.0, < 21.2.19, < 20.3.27 —
@angular compiler >= 22.0.0-next.0, < 22.0.1, >= 21.0.0-next.0, < 21.2.19, < 20.3.27 —
@angular core >= 22.0.0-next.0, < 22.0.1, >= 21.0.0-next.0, < 21.2.19, < 20.3.27 —

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

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling katib-suggestion-hyperopt 0.19.0-r40 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @angular/compiler >= 22.0.0-next.0, < 22.0.1 22.0.1 GHSA-jj27-h5hq-8x99
npm @angular/compiler >= 21.0.0-next.0, < 21.2.19 21.2.19 GHSA-jj27-h5hq-8x99
npm @angular/compiler >= 20.0.0-next.0, < 20.3.27 20.3.27 GHSA-jj27-h5hq-8x99
npm @angular/compiler <= 19.2.25 — GHSA-jj27-h5hq-8x99
npm @angular/core >= 22.0.0-next.0, < 22.0.1 22.0.1 GHSA-jj27-h5hq-8x99
npm @angular/core >= 21.0.0-next.0, < 21.2.19 21.2.19 GHSA-jj27-h5hq-8x99
npm @angular/core >= 20.0.0-next.0, < 20.3.27 20.3.27 GHSA-jj27-h5hq-8x99
npm @angular/core <= 19.2.25 — GHSA-jj27-h5hq-8x99

Advisories 2

References