PT-2026-67448 · Google · Angular
CVE-2026-69151
·
Published
2026-08-03
·
Updated
2026-08-03
CVSS v4.0
7.6
High
| Vector | AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Angular versions prior to 20.3.27
Angular versions prior to 21.2.19
Angular versions prior to 22.0.1
Description
A Cross-Site Scripting (XSS) issue exists in the Angular compiler internationalization (i18n) pipeline. While standard attribute validation via
validateAttribute() and validateProperty() prevents binding to event-handler attributes like onclick and onerror, the i18n metadata collection path allows these attributes to be marked for translation using i18n-on* attributes, such as i18n-onerror. This allows a lower-trust translation file to replace a static handler with arbitrary executable JavaScript in the localized build, potentially leading to session hijacking or unauthorized actions if an attacker controls the translation files.Recommendations
Update to version 20.3.27 or later.
Update to version 21.2.19 or later.
Update to version 22.0.1 or later.
Ensure that static event-handler attributes are never marked for internationalization using
i18n-on* in application templates.
Ensure translation files are sourced from trusted origins.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Angular