Live threats

All CVEs / Angular

CVE-2026-22610Angular

High 8.5

Priority
51
CVSS 4.0
8.5
EPSS
—
Auth required
Yes
Published
Jan 10, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to versions 19.2.18, 20.3.16, 21.0.7, and 21.1.0-rc.0, a cross-site scripting (XSS) vulnerability has been identified in the Angular Template Compiler. The vulnerability exists because Angular’s internal sanitization schema fails to recognize the href and xlink:href attributes of SVG <script> elements as a Resource URL context. This issue has been patched in versions 19.2.18, 20.3.16, 21.0.7, and 21.1.0-rc.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Angular.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @angular/compiler ≥ 21.1.0-next.0 < 21.1.0-rc.0 21.1.0-rc.0 npm install @angular/compiler@21.1.0-rc.0
npm @angular/compiler ≥ 21.0.0-next.0 < 21.0.7 21.0.7 npm install @angular/compiler@21.0.7
npm @angular/compiler ≥ 20.0.0-next.0 < 20.3.16 20.3.16 npm install @angular/compiler@20.3.16
npm @angular/compiler ≥ 19.0.0-next.0 < 19.2.18 19.2.18 npm install @angular/compiler@19.2.18
npm @angular/compiler ≤ 18.2.14 no fixed version —
npm @angular/core ≥ 21.1.0-next.0 < 21.1.0-rc.0 21.1.0-rc.0 npm install @angular/core@21.1.0-rc.0
npm @angular/core ≥ 21.0.0-next.0 < 21.0.7 21.0.7 npm install @angular/core@21.0.7
npm @angular/core ≥ 20.0.0-next.0 < 20.3.16 20.3.16 npm install @angular/core@20.3.16
npm @angular/core ≥ 19.0.0-next.0 < 19.2.18 19.2.18 npm install @angular/core@19.2.18
npm @angular/core ≤ 18.2.14 no fixed version —

Per OSV / GitHub Advisories (GHSA-jrmj-c5cx-3cw6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
angularangular≤ 18.2.14
angularangular≥ 19.0.0 < 19.2.18
angularangular≥ 20.0.0 < 20.3.16
angularangular≥ 21.0.0 < 21.0.7
angularangular21.1.0
angularangular21.1.0
angularangular21.1.0
angularangular21.1.0
angularangular21.1.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.