Skip to main content
← All vulnerabilities
CVE-2026-69151GHSA-JJ27-H5HQ-8X99

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 22.0.1, 21.2.19, 20.3.27
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • angular angular

    From 22.0.0-next.0 · fixed in 22.0.1; From 21.0.0-next.0 · fixed in 21.2.19; fixed in 20.3.27

  • @angular compiler

    From 22.0.0-next.0 · fixed in 22.0.1; From 21.0.0-next.0 · fixed in 21.2.19; fixed in 20.3.27

  • @angular core

    From 22.0.0-next.0 · fixed in 22.0.1; From 21.0.0-next.0 · fixed in 21.2.19; fixed in 20.3.27

  • @angular/compilernpm

    From 22.0.0-next.0 · fixed in 22.0.1

  • @angular/compilernpm

    From 21.0.0-next.0 · fixed in 21.2.19

  • @angular/compilernpm

    From 20.0.0-next.0 · fixed in 20.3.27

  • @angular/compilernpm

    through 19.2.25

  • @angular/corenpm

    From 22.0.0-next.0 · fixed in 22.0.1

  • @angular/corenpm

    From 21.0.0-next.0 · fixed in 21.2.19

  • @angular/corenpm

    From 20.0.0-next.0 · fixed in 20.3.27

  • @angular/corenpm

    through 19.2.25

References 5

GitHub · angular/angular