XSS in @Angular Compiler

CVE-2026-69151

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.002 (9.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

  • @Angular Compiler — versions >= 22.0.0-next.0, < 22.0.1, >= 21.0.0-next.0, < 21.2.19, < 20.3.27
  • @Angular Core — versions >= 22.0.0-next.0, < 22.0.1, >= 21.0.0-next.0, < 21.2.19, < 20.3.27
  • Angular — versions >= 22.0.0-next.0, < 22.0.1, >= 21.0.0-next.0, < 21.2.19, < 20.3.27

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-69151?
CVE-2026-69151 is a medium-severity vulnerability in @Angular Compiler, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2026-08-03.
How severe is CVE-2026-69151?
Medium severity. CVSS v3 base score is 6.1 out of 10.