CVE-2026-27970

HIGH
中文标题:
(暂无数据)
英文标题:
Angular i18n vulnerable to Cross-Site Scripting (XSS)
CVSS分数: 7.6
发布时间: 2026-02-26 02:03:43
漏洞类型: (暂无数据)
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v3
漏洞描述
中文描述:

(暂无数据)

英文描述:

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.

CWE类型:
CWE-79
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
angular angular >= 21.2.0-next.0, < 21.2.0 - - cpe:2.3:a:angular:angular:>=_21.2.0-next.0,_<_21.2.0:*:*:*:*:*:*:*
angular angular >= 21.0.0-next.0, < 21.1.6 - - cpe:2.3:a:angular:angular:>=_21.0.0-next.0,_<_21.1.6:*:*:*:*:*:*:*
angular angular >= 20.0.0-next.0, < 20.3.17 - - cpe:2.3:a:angular:angular:>=_20.0.0-next.0,_<_20.3.17:*:*:*:*:*:*:*
angular angular >= 19.0.0-next.0, < 19.2.19 - - cpe:2.3:a:angular:angular:>=_19.0.0-next.0,_<_19.2.19:*:*:*:*:*:*:*
angular angular <= 18.2.14 - - cpe:2.3:a:angular:angular:<=_18.2.14:*:*:*:*:*:*:*
angular angular * - - 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:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/angular/angular/security/advisories/GHSA-prjf-86w9-mfqv x_refsource_CONFIRM
cve.org
访问
https://github.com/angular/angular/pull/67183 x_refsource_MISC
cve.org
访问
https://github.com/angular/angular/commit/306f367899dfc2e04238fecd3455547b5d54075d x_refsource_MISC
cve.org
访问
https://github.com/angular/angular/commit/7d58b798c626bb0e4e5f89ca8affdce4f352b232 x_refsource_MISC
cve.org
访问
https://github.com/angular/angular/commit/b85830953281ff3a1a77bbfe69019d352d509c93 x_refsource_MISC
cve.org
访问
CVSS评分详情
4.0 (cna)
HIGH
7.6
CVSS向量: 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
机密性
HIGH
完整性
HIGH
可用性
NONE
后续系统影响 (Subsequent):
机密性
NONE
完整性
NONE
可用性
NONE
时间信息
发布时间:
2026-02-26 02:03:43
修改时间:
2026-02-26 02:03:43
创建时间:
2026-02-26 06:00:02
更新时间:
2026-02-28 06:00:03
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2026-27970 2026-02-26 03:19:54 2026-02-25 22:00:02
NVD nvd_CVE-2026-27970 2026-02-27 02:00:05 2026-02-26 22:00:03
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN
安全公告
暂无安全公告信息
变更历史
v3 NVD
2026-02-28 06:00:03
affected_products_count: 5 → 7
查看详细变更
  • affected_products_count: 5 -> 7
v2 NVD
2026-02-27 06:00:03
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']