# CVE-2025-59052: Angular SSR: Global Platform Injector Race Condition Leads to Cross-Request Data Leakage

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2025-09-10T20:13:56.965Z
- Modified: 2026-06-17T09:45:30.480Z
- Also known as: GHSA-68x2-mx4q-78m7
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- angular angular: @angular/platform-server >= 16.0.0-next.0, < 18.2.14; @angular/platform-server >= 20.0.0-next.0, < 20.3.0; @angular/platform-server >= 19.0.0-next.0, < 19.2.15; @angular/platform-server >= 21.0.0-next.0, < 21.0.0-next.3; @angular/ssr >= 17.0.0-next.0, < 18.2.21; @angular/ssr >= 19.0.0-next.0, < 19.2.16; @angular/ssr >= 20.0.0-next.0, < 20.3.0; @angular/ssr >= 21.0.0-next.0, < 21.0.0-next.3; @nguniversal/common >= 16.0.0-next.0, <= 16.2.0
- @angular/platform-server (npm): from 16.0.0-next.0 before 18.2.14; from 20.0.0-next.0 before 20.3.0; from 19.0.0-next.0 before 19.2.15; from 21.0.0-next.0 before 21.0.0-next.3
- @angular/ssr (npm): from 17.0.0-next.0 before 18.2.21; from 19.0.0-next.0 before 19.2.16; from 20.0.0-next.0 before 20.3.0; from 21.0.0-next.0 before 21.0.0-next.3
- @nguniversal/common (npm): from 16.0.0-next.0 up to 16.2.0

## Every score

- GitHub_M: CVSS:4.0 7.1 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/angular/angular/security/advisories/GHSA-68x2-mx4q-78m7> (web)
- <https://github.com/angular/angular-cli/pull/31108> (web)
- <https://github.com/angular/angular/pull/63562> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59052> (advisory)
- <https://github.com/angular/angular> (package)

## Sources

- CVE List: [CVE-2025-59052](https://www.cve.org/CVERecord?id=CVE-2025-59052), CVE Terms of Use, modified 2025-09-10
- GitHub Advisory Database: [GHSA-68x2-mx4q-78m7](https://github.com/advisories/GHSA-68x2-mx4q-78m7), CC-BY-4.0, modified 2025-09-10
- NVD: [CVE-2025-59052](https://nvd.nist.gov/vuln/detail/CVE-2025-59052), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-59052 · Whole record: https://cve.day/CVE-2025-59052.json · Rebuilt by cve.day 2026-11-25T22:59:04.508Z
