CVE-2026-22610
Angular has XSS Vulnerability via Unsanitized SVG Script Attributes
EPSS 0.44%
描述
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.
如何修補 CVE-2026-22610
要修補 CVE-2026-22610,請將受影響套件升級到下列已修補版本。
- —升級至 21.1.0-rc.0 或更新版本
- —升級至 21.1.0-rc.0 或更新版本
CVE-2026-22610 正在被利用嗎?
低 — EPSS 為 0.4%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- >= 21.1.0-next.0, < 21.1.0-rc.0
- >= 21.1.0-next.0, < 21.1.0-rc.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | 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 |