CVE
CVE-2025-66412
CNA 原文 · 原文(英文)
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 21.0.2, 20.3.15, and 19.2.17, A Stored Cross-Site Scripting (XSS) vulnerability has been identified in the Angular Template Compiler. It occurs because the compiler's internal security schema is incomplete, allowing attackers to bypass Angular's built-in security sanitization. Specifically, the schema fails to classify certain URL-holding attributes (e.g., those that could contain javascript: URLs) as requiring strict URL security, enabling the injection of malicious scripts. This vulnerability is fixed in 21.0.2, 20.3.15, and 19.2.17.
受影响版本
- @angular/compiler≥ 21.0.0-next.0, < 21.0.2修复版本 21.0.2
- @angular/compiler≥ 20.0.0-next.0, < 20.3.15修复版本 20.3.15
- @angular/compiler≥ 19.0.0-next.0, < 19.2.17修复版本 19.2.17
- @angular/compiler≤ 18.2.14受影响至 18.2.14(含),修复版本见厂商公告
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- github.com/angular/angular/commit/1c6b0704fb63d051fab8acff84d076abfbc4 · Patch
- github.com/angular/angular/security/advisories/GHSA-v4hv-rgfq-gp49 · Third Party Advisory
- github.com/advisories/GHSA-v4hv-rgfq-gp49 · Third Party Advisory
- osv.dev/vulnerability/GHSA-v4hv-rgfq-gp49 · Third Party Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。