Angular 20.x < 20.3.16 Cross-Site Scripting

high Web App Scanning Plugin ID 115626

Synopsis

Angular 20.x < 20.3.16 Cross-Site Scripting

Description

According to its self-reported version number, Angular is prior to 19.0.0, 19.x prior to 19.2.18, 20.x prior to 20.3.16 or 21.x prior to 21.0.7. It is, therefore, affected by a Cross-Site Scripting (XSS) vulnerability in the Angular template compiler. The href and xlink:href attributes of SVG <script> elements are not classified as a resource URL context, allowing user-controlled data bound to these attributes to load and execute malicious scripts. (CVE-2026-22610)

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 20.3.16 or later.

See Also

https://github.com/angular/angular/security/advisories/GHSA-jrmj-c5cx-3cw6

Plugin Details

Severity: High

ID: 115626

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.44

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-22610

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-22610

CVSS v4

Risk Factor: High

Base Score: 8.5

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2026-22610

Vulnerability Information

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

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 1/8/2026

Reference Information

CVE: CVE-2026-22610