CVE-2025-59052
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-09-10
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS 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:- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.3 %
higher than 25 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| angular | platform-server (npm) | ≥ 16.0.0-next.0, < 18.2.14 | Affected |
| angular | platform-server (npm) | ≥ 19.0.0-next.0, < 19.2.15 | Affected |
| angular | platform-server (npm) | ≥ 20.0.0-next.0, < 20.3.0 | Affected |
| angular | platform-server (npm) | ≥ 21.0.0-next.0, < 21.0.0-next.3 | Affected |
| angular | ssr (npm) | ≥ 17.0.0-next.0, < 18.2.21 | Affected |
| angular | ssr (npm) | ≥ 19.0.0-next.0, < 19.2.16 | Affected |
| angular | ssr (npm) | ≥ 20.0.0-next.0, < 20.3.0 | Affected |
| angular | ssr (npm) | ≥ 21.0.0-next.0, < 21.0.0-next.3 | Affected |
| nguniversal | common (npm) | ≥ 16.0.0-next.0, ≤ 16.2.0 | Affected |
Weakness type
-
CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating …
References
- https://github.com/angular/angular-cli/pull/31108
- https://github.com/angular/angular/pull/63562
- https://github.com/angular/angular/security/advisories/GHSA-68x2-mx4q-78m7
Related at Berigo
Articles
-
Four years in prison for one of Conti's developers
Same product
2026-09-26
Oleksii Oleksiyovych Lytvynenko was sentenced in the United States on 10 September 2026 to four years in prison for his part in the Conti ransomware …
-
Nine advisories in one day, from brake computers to ship transponders
Same product
2026-08-25
CISA published seven new ICS advisories on 25 August 2026 and revised two older ones the same day. Five of the nine carry a top CVSS v3.1 score of 9.…
-
Russian clusters bypass two step verification by asking for app passwords
Same product
2026-08-24
Google Threat Intelligence Group described three clusters linked to Russian intelligence on 20 August 2026, targeting academics, the defence industry…
-
CISA updates the Medusa advisory, more than 500 organisations hit
Same product
2026-08-24
CISA, the FBI and the US Department of Health and Human Services updated their joint advisory on Medusa ransomware on 18 August 2026. As of April 202…
Services
-
NIS2 for the Board
NIS2 has not yet been implemented in Norwegian law. Berigo helps the board establish which requirements the organisation is subject to, and supports …
-
AI Governance
Berigo helps organisations adopt artificial intelligence responsibly and with clear governance: from EU AI Act readiness to management systems aligne…
-
Secure Post-Merger Integration
Support for secure integration after acquisitions, mergers and carve-outs: from day-1 readiness to a consolidated ISMS and regulatory continuity.
-
ISO/IEC 27001: advisory and certification readiness
ISO/IEC 27001 advisory and an information security management system that is used in practice and able to withstand a certification audit. Choose a g…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.