Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/%40angular/platform-server@17.2.4
purl pkg:npm/%40angular/platform-server@17.2.4
Next non-vulnerable version 19.2.21
Latest non-vulnerable version 22.0.0-next.12
Risk 4.0
Vulnerabilities affecting this package (2)
Vulnerability Summary Fixed by
VCID-4cvr-kruz-sfbu
Aliases:
CVE-2025-59052
GHSA-68x2-mx4q-78m7
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.
18.2.14
Affected by 2 other vulnerabilities.
19.2.15
Affected by 1 other vulnerability.
20.3.0
Affected by 1 other vulnerability.
21.0.0-next.3
Affected by 1 other vulnerability.
VCID-k83s-kt8k-3uar
Aliases:
CVE-2026-41423
GHSA-45q2-gjvg-7973
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to versions 19.2.21, 20.3.19, 21.2.9, and 22.0.0-next.8, a Server-Side Request Forgery (SSRF) vulnerability exists in @angular/platform-server due to improper handling of URLs during Server-Side Rendering (SSR). When an attacker sends a request such as GET /\evil.com/ HTTP/1.1 the server engine (Express, etc.) passes the URL string to Angular’s rendering functions. Because the URL parser normalizes the backslash to a forward slash for HTTP/HTTPS schemes, the internal state of the application is hijacked to believe the current origin is evil.com. This misinterpretation tricks the application into treating the attacker’s domain as the local origin. Consequently, any relative HttpClient requests or PlatformLocation.hostname references are redirected to the attacker controlled server, potentially exposing internal APIs or metadata services. This issue has been patched in versions 19.2.21, 20.3.19, 21.2.9, and 22.0.0-next.8.
19.2.21
Affected by 0 other vulnerabilities.
20.3.19
Affected by 0 other vulnerabilities.
21.2.9
Affected by 0 other vulnerabilities.
22.0.0-next.8
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-12T22:05:47.545357+00:00 GitLab Importer Affected by VCID-k83s-kt8k-3uar https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/@angular/platform-server/CVE-2026-41423.yml 38.6.0
2026-06-12T20:16:40.424290+00:00 GitLab Importer Affected by VCID-4cvr-kruz-sfbu https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/@angular/platform-server/CVE-2025-59052.yml 38.6.0