Skip to content

CVE-2026-27970 Angular i18n vulnerable to Cross-Site Scripting (XSS)

HighCVSS 7.6 EPSS 0.56%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebianRed Hat

Description

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Versions prior to 21.2.0, 21.1.16, 20.3.17, and 19.2.19 have a cross-Site scripting vulnerability in the Angular internationalization (i18n) pipeline. In ICU messages (International Components for Unicode), HTML from translated content was not properly sanitized and could execute arbitrary JavaScript. Angular i18n typically involves three steps, extracting all messages from an application in the source language, sending the messages to be translated, and then merging their translations back into the final source code. Translations are frequently handled by contracts with specific partner companies, and involve sending the source messages to a separate contractor before receiving final translations for display to the end user. If the returned translations have malicious content, it could be rendered into the application and execute arbitrary JavaScript. When successfully exploited, this vulnerability allows for execution of attacker controlled JavaScript in the application origin. Depending on the nature of the application being exploited this could lead to credential exfiltration and/or page vandalism. Several preconditions apply to the attack. The attacker must compromise the translation file (xliff, xtb, etc.). Unlike most XSS vulnerabilities, this issue is not exploitable by arbitrary users. An attacker must first compromise an application's translation file before they can escalate privileges into the Angular application client. The victim application must use Angular i18n, use one or more ICU messages, render an ICU message, and not defend against XSS via a safe content security policy. Versions 21.2.0, 21.1.6, 20.3.17, and 19.2.19 patch the issue. Until the patch is applied, developers should consider reviewing and verifying translated content received from untrusted third parties before incorporating it in an Angular application, enabling strict CSP controls to block unauthorized JavaScript from executing on the page, and enabling Trusted Types to enforce proper HTML sanitization.

Upgrade path

20 packages: 2 fixed, 17 with no fix yet.

PackageAffectedFixed inStatus
debian/angular.js(Debian 12) = 1.8.3-1; = 1.8.3-1+deb12u1; = 1.8.3-1+deb12u1~deb11u1; = 1.8.3-2 +2 more No fix listed No fix yet
debian/angular.js(Debian 13) = 1.8.3-3; All versions No fix listed No fix yet
redhat enterprise linux = 7; = 8; = 9; = 10 +1 more No fix listed No fix yet
redhat jboss fuse All versions No fix listed No fix yet
redhat openshift ai All versions No fix listed No fix yet
redhat/ceph(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/ceph(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/intel-cmt-cat(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/intel-cmt-cat(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/intel-cmt-cat(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/io.apicurio-apicurito(Red Hat jboss_fuse 7) All versions No fix listed No fix yet
redhat/io.syndesis-syndesis-parent(Red Hat jboss_fuse 7) All versions No fix listed No fix yet
redhat/rhceph/rhceph-9-rhel10:1790843527(Red Hat ceph_storage 9.2 el10) All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/angular.js(Ubuntu 26.10) All versions No fix listed No fix yet
angular < 19.2.19; = 21.2.0-next0; = 21.2.0-next1; = 21.2.0-next2 +9 more 19.2.19, 20.3.17, 21.1.6 Fixed
angular core(npm) <= 18.2.14; >= 19.0.0-next.0, < 19.2.19; >= 19.0.0-next.0, <= 19.2.18; >= 20.0.0-next.0, < 20.3.17 +5 more 19.2.19, 20.3.17, 21.1.6, 21.2.0 Fixed
redhat acm = 2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
angular = >= 21.2.0-next.0, < 21.2.0 No fix listed
angular = >= 21.0.0-next.0, < 21.1.6 No fix listed
angular = >= 20.0.0-next.0, < 20.3.17 No fix listed
angular = >= 19.0.0-next.0, < 19.2.19 No fix listed
angular = <= 18.2.14 No fix listed
redhat acm = 2 No fix listed
redhat enterprise linux All versions No fix listed
redhat enterprise linux = 10 No fix listed
redhat enterprise linux = 7 No fix listed
redhat enterprise linux = 8 No fix listed
redhat enterprise linux = 9 No fix listed
redhat jboss fuse All versions No fix listed
redhat openshift ai All versions No fix listed
angular core(npm) >= 21.2.0-next.0, <= 21.2.0-rc.0 No fix listed
angular core(npm) >= 21.0.0-next.0, <= 21.1.5 No fix listed
angular core(npm) >= 20.0.0-next.0, <= 20.3.16 No fix listed
angular core(npm) >= 19.0.0-next.0, <= 19.2.18 No fix listed
angular core(npm) <= 18.2.14 No fix listed
debian/angular.js(Debian:12) All versions No fix listed
debian/angular.js(Debian:12) = 1.8.3-1 No fix listed
debian/angular.js(Debian:12) = 1.8.3-1+deb12u1 No fix listed
debian/angular.js(Debian:12) = 1.8.3-1+deb12u1~deb11u1 No fix listed
debian/angular.js(Debian:12) = 1.8.3-2 No fix listed
debian/angular.js(Debian:12) = 1.8.3-3 No fix listed
debian/angular.js(Debian:13) All versions No fix listed
Show 25 more
ProductAffected versionsFixed in
debian/angular.js(Debian:13) = 1.8.3-3 No fix listed
ubuntu/angular.js(Ubuntu:22.04) All versions No fix listed
redhat/rhceph/rhceph-9-rhel10:1790843527(Red Hat:ceph_storage:9.2::el10) All versions No fix listed
redhat/ceph(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/intel-cmt-cat(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/intel-cmt-cat(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/ceph(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/intel-cmt-cat(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/io.apicurio-apicurito(Red Hat:jboss_fuse:7) All versions No fix listed
redhat/io.syndesis-syndesis-parent(Red Hat:jboss_fuse:7) All versions No fix listed
ubuntu/angular.js(Ubuntu:24.04) All versions No fix listed
ubuntu/angular.js(Ubuntu:26.04) All versions No fix listed
ubuntu/angular.js(Ubuntu:26.10) All versions No fix listed
angular < 19.2.19 19.2.19
angular >= 20.0.0, < 20.3.17 20.3.17
angular >= 21.0.0, < 21.1.6 21.1.6
angular = 21.2.0-next0 No fix listed
angular = 21.2.0-next1 No fix listed
angular = 21.2.0-next2 No fix listed
angular = 21.2.0-next3 No fix listed
angular = 21.2.0-rc0 No fix listed
angular core(npm) >= 21.2.0-next.0, < 21.2.0 21.2.0
angular core(npm) >= 21.0.0-next.0, < 21.1.6 21.1.6
angular core(npm) >= 20.0.0-next.0, < 20.3.17 20.3.17
angular core(npm) >= 19.0.0-next.0, < 19.2.19 19.2.19

References