CVE-2026-69151

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

State
Published
Severity
7.6 High
Published
Aug 3, 2026
Updated
Aug 3, 2026
Reserved
Aug 3, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.6 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
angularangular
  • >= 22.0.0-next.0, < 22.0.1Affected
  • >= 21.0.0-next.0, < 21.2.19Affected
  • < 20.3.27Affected
compiler@angular
  • >= 22.0.0-next.0, < 22.0.1Affected
  • >= 21.0.0-next.0, < 21.2.19Affected
  • < 20.3.27Affected
core@angular
  • >= 22.0.0-next.0, < 22.0.1Affected
  • >= 21.0.0-next.0, < 21.2.19Affected
  • < 20.3.27Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.