CVE-2026-27970
published high CVSS 4.0 · 7.6Angular i18n vulnerable to Cross-Site Scripting (XSS)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| angular | — | angular>= 21.2.0-next.0, < 21.2.0 · >= 21.0.0-next.0, < 21.1.6 · >= 20.0.0-next.0, < 20.3.17 · >= 19.0.0-next.0, < 19.2.19 · <= 18.2.14 | Affected | Not stated | GitHub_M |
| Red Hat | — | rhacm2/volsync-operator-bundleRed Hat Advanced Cluster Management for Kubernetes 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhacm2/volsync-rhel9Red Hat Advanced Cluster Management for Kubernetes 2 | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 9, 10 | ceph | Affected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 7, 8, 9, 10 | firefox | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 9, 10 | gjs | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 8, 9, 10 | intel-cmt-cat | Affected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 8, 9, 10 | thunderbird | Unaffected | Not required | redhat-SADP |
Show 7 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 8 | dotnet5.0-build-reference-packages | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 8 | mozjs60 | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 9 | polkit | Unaffected | Not required | redhat-SADP |
| Red Hat | — | io.apicurio-apicuritoRed Hat Fuse 7 | Affected | Not stated | redhat-SADP |
| Red Hat | — | io.syndesis-syndesis-parentRed Hat Fuse 7 | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-kf-notebook-controller-rhel8Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-notebook-controller-rhel8Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
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.
A Cross-Site Scripting (XSS) vulnerability has been identified 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| angular | angular | >= 21.2.0-next.0, < 21.2.0 (affected)>= 21.0.0-next.0, < 21.1.6 (affected)>= 20.0.0-next.0, < 20.3.17 (affected)>= 19.0.0-next.0, < 19.2.19 (affected)<= 18.2.14 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Advanced Cluster Management for Kubernetes 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Advanced Cluster Management for Kubernetes 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
8- https://access.redhat.com/security/cve/CVE-2026-27970
- RHBZ#2442934 https://bugzilla.redhat.com/show_bug.cgi?id=2442934
- https://github.com/angular/angular/commit/306f367899dfc2e04238fecd3455547b5d54075d
- https://github.com/angular/angular/commit/7d58b798c626bb0e4e5f89ca8affdce4f352b232
- https://github.com/angular/angular/commit/b85830953281ff3a1a77bbfe69019d352d509c93
- https://github.com/angular/angular/pull/67183
- https://github.com/angular/angular/security/advisories/GHSA-prjf-86w9-mfqv
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27970.json
Provider assertions
3GitHub_M · cna
Angular i18n vulnerable to Cross-Site Scripting (XSS)
redhat-SADP · adp
@angular/core: Angular: Cross-site scripting via compromised translation files
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- baafe49111430f81ca16bc4b0d2c32e2d9848976cc4b4748213c9b8625491faa
- Ingested
- 23 Sep 2026, 09:07:57 UTC
- Source record
- Official CVE record