CVE-2025-59052
Angular SSR: Global Platform Injector Race Condition Leads to Cross-Request Data Leakage
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2025-59052 divulgada · CVSS 7.1 (CNA) | |
| Remediación | Parche 18.2.14 | @angular/platform-server · 0 d desde divulgación | |
| Remediación | Parche 19.2.15 | @angular/platform-server · 0 d desde divulgación | |
| Remediación | Parche 20.3.0 | @angular/platform-server · 0 d desde divulgación | |
| Remediación | Parche 21.0.0-next.3 | @angular/platform-server · 0 d desde divulgación | |
| Remediación | Parche 18.2.21 | @angular/ssr · 0 d desde divulgación | |
| Remediación | Parche 19.2.16 | @angular/ssr · 0 d desde divulgación | |
| 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. Angular uses a DI container (the "platform injector") to hold request-specific state during server-side rendering. For historical reasons, the container was stored as a JavaScript module-scoped global variable. When multiple requests are processed concurrently, they could inadvertently share or overwrite the global injector state. In practical terms, this can lead to one request responding with data meant for a completely different request, leaking data or tokens included on the rendered page or in response headers. As long as an attacker had network access to send any traffic that received a rendered response, they may have been able to send a large number of requests and then inspect the responses for information leaks. The APIs `bootstrapApplication`, `getPlatform`, and `destroyPlatform` were vulnerable and required SSR-only breaking changes. The issue has been patched in all active release lines as well as in the v21 prerelease. Patched packages include `@angular/platform-server` 21.0.0-next.3, 20.3.0, 19.2.15, and 18.2.14 and `@angular/ssr` 21.0.0-next.3, 20.3.0, 19.2.16, and 18.2.21. Several workarounds are available. Disable SSR via Server Routes or builder options, remove any asynchronous behavior from custom `bootstrap` functions, remove uses of `getPlatform()` in application code, and/or ensure that the server build defines `ngJitMode` as false.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npm@angular/platform-server |
Corregida | 18.2.14, 19.2.15, 20.3.0, 21.0.0-next.3 | 0 d · 0 d · 0 d · 0 d | 22.2.6 no afectada |
npm@angular/ssr |
Corregida | 18.2.21, 19.2.16, 20.3.0, 21.0.0-next.3 | 0 d · 0 d · 0 d · 0 d | 22.2.7 no afectada |
npm@nguniversal/common |
Sin parche | — | — | 16.2.0 afectada |
18.2.1418.2.2119.2.1519.2.1620.3.021.0.0-next.3Arsenal 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-68x2-mx4q-78m7https://github.com/angular/angular-cli/pull/31108https://github.com/angular/angular/pull/63562Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
