Angular 21.x < 21.1.6 Cross-Site Scripting

high Web App Scanning Plugin ID 115621

Synopsis

Angular 21.x < 21.1.6 Cross-Site Scripting

Description

According to its self-reported version number, Angular is prior to 19.0.0, 19.x prior to 19.2.19, 20.x prior to 20.3.17 or 21.x prior to 21.1.6. It is, therefore, affected by a Cross-Site Scripting (XSS) vulnerability in the internationalization (i18n) pipeline of @angular/core. HTML content from translated ICU messages is not properly sanitized, allowing a malicious translation to execute arbitrary JavaScript. (CVE-2026-27970)

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Angular version 21.1.6 or later.

See Also

https://github.com/angular/angular/security/advisories/GHSA-prjf-86w9-mfqv

Plugin Details

Severity: High

ID: 115621

Type: Version Based

Published: 10/2/2026

Updated: 10/2/2026

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.53

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-27970

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS Score Source: CVE-2026-27970

CVSS v4

Risk Factor: High

Base Score: 7.6

Vector: 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

CVSS Score Source: CVE-2026-27970

Vulnerability Information

CPE: cpe:2.3:a:angular:angular:*:*:*:*:*:*:*:*

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 2/25/2026

Reference Information

CVE: CVE-2026-27970