CVE-2026-22610
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
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 withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bullseye | fixed | 0 |
| debian | trixie | fixed | 0 |
| debian | bookworm | fixed | 0 |
| debian | forky | fixed | 0 |
| debian | sid | fixed | 0 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| npm | @angular/compiler | >=21.1.0-next.0,<21.1.0-rc.0 | 21.1.0-rc.0 |
| npm | @angular/core | >=21.1.0-next.0,<21.1.0-rc.0 | 21.1.0-rc.0 |
| npm | @angular/compiler | >=21.0.0-next.0,<21.0.7 | 21.0.7 |
| npm | @angular/core | >=21.0.0-next.0,<21.0.7 | 21.0.7 |
| npm | @angular/compiler | >=20.0.0-next.0,<20.3.16 | 20.3.16 |
| npm | @angular/core | >=20.0.0-next.0,<20.3.16 | 20.3.16 |
| npm | @angular/compiler | >=19.0.0-next.0,<19.2.18 | 19.2.18 |
| npm | @angular/core | >=19.0.0-next.0,<19.2.18 | 19.2.18 |
| npm | @angular/compiler | <=18.2.14 | |
| npm | @angular/core | <=18.2.14 | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| angular | angular | {"endIncluding":"18.2.14"} | |
| angular | angular | {"startIncluding":"19.0.0","endExcluding":"19.2.18"} | 19.2.18 |
| angular | angular | {"startIncluding":"20.0.0","endExcluding":"20.3.16"} | 20.3.16 |
| angular | angular | {"startIncluding":"21.0.0","endExcluding":"21.0.7"} | 21.0.7 |
| angular | angular | 21.1.0 | |
References
- https://security-tracker.debian.org/tracker/CVE-2026-22610
- https://github.com/angular/angular/security/advisories/GHSA-jrmj-c5cx-3cw6
- https://nvd.nist.gov/vuln/detail/CVE-2026-22610
- https://github.com/angular/angular/pull/66318
- https://github.com/angular/angular/commit/91dc91bae4a1bbefc58bef6ef739d0e02ab44d56
- https://github.com/angular/angular
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html
- https://cert-portal.siemens.com/productcert/html/ssa-485750.html
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.