CVE-2026-52725
Angular Template and Dynamic Component Namespace Bypass leading to Cross-Site Scripting (XSS)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 19.2.23 | @angular/core · -26 d desde divulgación | |
| Remediación | Parche 20.3.22 | @angular/core · -26 d desde divulgación | |
| Remediación | Parche 21.2.15 | @angular/core · -25 d desde divulgación | |
| Remediación | Parche 22.0.0-rc.2 | @angular/core · -25 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-52725 divulgada · CVSS 5.3 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, an issue in the @angular/core package allows bypassing script-execution restrictions during dynamic component creation. Specifically, the dynamic component instantiation mechanism (createComponent) failed to reject mounting components directly onto a <script> or namespaced script element (such as <svg:script>). This enabled the initialization of custom components on a tag that executes scripts, allowing attackers to hijack or inject script-executing hosts. This flaw enables an attacker who can control the host element or selector parameter passed to createComponent to initialize or mount an Angular component directly onto a <script> tag, leading to execution of untrusted code or client-side Cross-Site Scripting (XSS). This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npm@angular/core |
Corregida | 19.2.23, 20.3.22, 21.2.15, 22.0.0-rc.2 | -26 d · -26 d · -25 d · -25 d | 22.2.6 no afectada |
19.2.2320.3.2221.2.1522.0.0-rc.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/angular/angular/security/advisories/GHSA-692r-grfm-v8x7https://github.com/angular/angular/pull/68686https://github.com/angular/angular/pull/68713Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
