CVE-2025-59052angular
Alta 7.1 Sin autenticación
Seguir: esta CVE · angular · angular Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 58
- CVSS 4.0
- 7.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 10 sep 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-362
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para angular.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | @angular/platform-server |
≥ 16.0.0-next.0 < 18.2.14 |
18.2.14 |
npm install @angular/platform-server@18.2.14 |
| npm | @angular/platform-server |
≥ 20.0.0-next.0 < 20.3.0 |
20.3.0 |
npm install @angular/platform-server@20.3.0 |
| npm | @angular/platform-server |
≥ 19.0.0-next.0 < 19.2.15 |
19.2.15 |
npm install @angular/platform-server@19.2.15 |
| npm | @angular/platform-server |
≥ 21.0.0-next.0 < 21.0.0-next.3 |
21.0.0-next.3 |
npm install @angular/platform-server@21.0.0-next.3 |
| npm | @angular/ssr |
≥ 17.0.0-next.0 < 18.2.21 |
18.2.21 |
npm install @angular/ssr@18.2.21 |
| npm | @angular/ssr |
≥ 19.0.0-next.0 < 19.2.16 |
19.2.16 |
npm install @angular/ssr@19.2.16 |
| npm | @angular/ssr |
≥ 20.0.0-next.0 < 20.3.0 |
20.3.0 |
npm install @angular/ssr@20.3.0 |
| npm | @angular/ssr |
≥ 21.0.0-next.0 < 21.0.0-next.3 |
21.0.0-next.3 |
npm install @angular/ssr@21.0.0-next.3 |
| npm | @nguniversal/common |
≥ 16.0.0-next.0 ≤ 16.2.0 |
sin versión corregida | — |
Según OSV / GitHub Advisories (GHSA-68x2-mx4q-78m7). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- angular · angular
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.