CVE-2026-22610

medium
Published 2026-01-09 Β· Modified 2026-06-02
CVSS v3
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4 NEW
8.5
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
VIR risk
6.1

Description

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.

Predictions

Exploit likelihood
71%
Patch ETA
β€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or β€” if you've already worked around this in production β€” publish your fix to the community-verified tier.

✚ Propose a mitigation on Community β†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
debian debianbullseyefixed0
debian debiantrixiefixed0
debian debianbookwormfixed0
debian debianforkyfixed0
debian debiansidfixed0

Package impact

EcosystemPackageVulnerableFixed
npm npm@angular/compiler>=21.1.0-next.0,<21.1.0-rc.021.1.0-rc.0
npm npm@angular/core>=21.1.0-next.0,<21.1.0-rc.021.1.0-rc.0
npm npm@angular/compiler>=21.0.0-next.0,<21.0.721.0.7
npm npm@angular/core>=21.0.0-next.0,<21.0.721.0.7
npm npm@angular/compiler>=20.0.0-next.0,<20.3.1620.3.16
npm npm@angular/core>=20.0.0-next.0,<20.3.1620.3.16
npm npm@angular/compiler>=19.0.0-next.0,<19.2.1819.2.18
npm npm@angular/core>=19.0.0-next.0,<19.2.1819.2.18
npm npm@angular/compiler<=18.2.14
npm npm@angular/core<=18.2.14

Application impact

VendorProductVersionsFixed
angularangular{"endIncluding":"18.2.14"}
angularangular{"startIncluding":"19.0.0","endExcluding":"19.2.18"}19.2.18
angularangular{"startIncluding":"20.0.0","endExcluding":"20.3.16"}20.3.16
angularangular{"startIncluding":"21.0.0","endExcluding":"21.0.7"}21.0.7
angularangular21.1.0

References

CWEs

CWE-79

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.