CVE
CVE-2026-22610
CVE-2026-22610HIGH 8.5EPSS 39%
CNA 原文 · 原文(英文)
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.
受影响版本
- @angular/core≥ 21.1.0-next.0, < 21.1.0-rc.0修复版本 21.1.0-rc.0
- @angular/core≥ 21.0.0-next.0, < 21.0.7修复版本 21.0.7
- @angular/core≥ 20.0.0-next.0, < 20.3.16修复版本 20.3.16
- @angular/core≥ 19.0.0-next.0, < 19.2.18修复版本 19.2.18
- @angular/core≤ 18.2.14受影响至 18.2.14(含),修复版本见厂商公告
- @angular/compiler≥ 21.1.0-next.0, < 21.1.0-rc.0修复版本 21.1.0-rc.0
- @angular/compiler≥ 21.0.0-next.0, < 21.0.7修复版本 21.0.7
- @angular/compiler≥ 20.0.0-next.0, < 20.3.16修复版本 20.3.16
- @angular/compiler≥ 19.0.0-next.0, < 19.2.18修复版本 19.2.18
- @angular/compiler≤ 18.2.14受影响至 18.2.14(含),修复版本见厂商公告
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- github.com/angular/angular/commit/91dc91bae4a1bbefc58bef6ef739d0e02ab4 · Patch
- github.com/angular/angular/security/advisories/GHSA-jrmj-c5cx-3cw6 · Mitigation, Vendor Advisory
- github.com/advisories/GHSA-jrmj-c5cx-3cw6 · Third Party Advisory
- osv.dev/vulnerability/GHSA-jrmj-c5cx-3cw6 · Third Party Advisory
- github.com/angular/angular/pull/66318 · Vendor Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。