CVE-2026-22610
HIGH 8.5CVSS 4.0Angular has XSS Vulnerability via Unsanitized SVG Script Attributes
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.
- Published
- 10 Jan 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-jrmj-c5cx-3cw6
- Sources
- NVDJSONOSV GHSA-jrmj-c5cx-3cw6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 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/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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | angular | angularcpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* |
<= 18.2.14 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* |
>= 19.0.0, < 19.2.18 | 19.2.18 |
| NVD | angular | angularcpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* |
>= 20.0.0, < 20.3.16 | 20.3.16 |
| NVD | angular | angularcpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* |
>= 21.0.0, < 21.0.7 | 21.0.7 |
| NVD | angular | angularcpe:2.3:a:angular:angular:21.1.0:next0:*:*:*:node.js:*:* |
= 21.1.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:21.1.0:next1:*:*:*:node.js:*:* |
= 21.1.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:21.1.0:next2:*:*:*:node.js:*:* |
= 21.1.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:21.1.0:next3:*:*:*:node.js:*:* |
= 21.1.0 | |
| NVD | angular | angularcpe:2.3:a:angular:angular:21.1.0:next4:*:*:*:node.js:*:* |
= 21.1.0 | |
| OSV | npm | @angular/compiler | >= 21.1.0-next.0, < 21.1.0-rc.0 | 21.1.0-rc.0 |
| OSV | npm | @angular/core | >= 21.1.0-next.0, < 21.1.0-rc.0 | 21.1.0-rc.0 |
| OSV | npm | @angular/compiler | >= 21.0.0-next.0, < 21.0.7 | 21.0.7 |
| OSV | npm | @angular/core | >= 21.0.0-next.0, < 21.0.7 | 21.0.7 |
| OSV | npm | @angular/compiler | >= 20.0.0-next.0, < 20.3.16 | 20.3.16 |
| OSV | npm | @angular/core | >= 20.0.0-next.0, < 20.3.16 | 20.3.16 |
| OSV | npm | @angular/compiler | >= 19.0.0-next.0, < 19.2.18 | 19.2.18 |
| OSV | npm | @angular/core | >= 19.0.0-next.0, < 19.2.18 | 19.2.18 |
| OSV | npm | @angular/compiler | <= 18.2.14 | |
| OSV | npm | @angular/core | <= 18.2.14 |
References
- https://github.com/angular/angular/commit/91dc91bae4a1bbefc58bef6ef739d0e02ab44d56 · Patch, WEB
- https://github.com/angular/angular/pull/66318 · Issue Tracking, WEB
- https://github.com/angular/angular/security/advisories/GHSA-jrmj-c5cx-3cw6 · Mitigation, Vendor Advisory, WEB
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html · WEB
- https://cert-portal.siemens.com/productcert/html/ssa-485750.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-22610 · ADVISORY
- https://github.com/angular/angular · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 10 Jan 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Jan 2026)