GHSA-prjf-86w9-mfqv · Severity: high · Ecosystem: npm — Angular i18n vulnerable to Cross-Site Scripting
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.
Conclusion & alert: CVE-2026-27970 is rated Moderate Risk (43.3/100): CVSS High severity, with low exploitation likelihood (EPSS 0.47%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-30 | 0.43% | 0.47% | +0.03% |
| 2 | 2026-06-15 | 0.06% | 0.43% | +0.38% |
| 3 | 2026-05-05 | — | 0.06% | — |
Full EPSS history (5 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.6 | 4.0 | HIGH |
|
— | — | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 7.1 | 3.1 | HIGH |
|
1.6 | 5.5 | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c |
GHSA-prjf-86w9-mfqv · Severity: high · Ecosystem: npm — Angular i18n vulnerable to Cross-Site Scripting
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-27970 not yet assigned priority: Debian including 1 source packages (angular.js), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): undetermined 5. | https://security-tracker.debian.org/tracker/CVE-2026-27970 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2026-27970 |
ubuntu
|
medium | CVE-2026-27970 medium priority: Ubuntu including 1 source packages (angular.js), 7 status rows across 7 suites (bionic, focal, jammy, noble, questing, upstream, xenial): needs-triage 7. | https://ubuntu.com/security/CVE-2026-27970 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| angular | angular | < 19.2.19 | cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* |
| angular | angular | >= 20.0.0, < 20.3.17 | cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* |
| angular | angular | >= 21.0.0, < 21.1.6 | cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* |
| angular | angular | 21.2.0 | cpe:2.3:a:angular:angular:21.2.0:next0:*:*:*:node.js:*:* |
| angular | angular | 21.2.0 | cpe:2.3:a:angular:angular:21.2.0:next1:*:*:*:node.js:*:* |
| angular | angular | 21.2.0 | cpe:2.3:a:angular:angular:21.2.0:next2:*:*:*:node.js:*:* |
| angular | angular | 21.2.0 | cpe:2.3:a:angular:angular:21.2.0:next3:*:*:*:node.js:*:* |
| angular | angular | 21.2.0 | cpe:2.3:a:angular:angular:21.2.0:rc0:*:*:*:node.js:*:* |