@angular/platform-server
22.2.6 · 12 Nov 2026MIT1M / weekRepositoryHomepagenpmAtom feed
20.3.35 is the newest release of 20.x.
In short
1 breaking1 security
- Breaking
The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.
Security
Fixes 1 advisory that affected 20.2.4
- HighAngular SSR: Global Platform Injector Race Condition Leads to Cross-Request Data LeakageGHSA-68x2-mx4q-78m7 · 10 Sep 2025Fixed in 20.3.0
11 advisories affect 20.3.0; 20.3.33 fixes them
- HighAngular SSR: Denial of Service (DoS) via Infinite Loop on Malformed DOCTYPEGHSA-f67j-2jqw-jpq7 · 28 Sep 2026Fixed in 20.3.31
- HighAngular SSR: XSS via Unescaped Processing Instruction (<?...?>) Nodes in Fallback Raw-Content ElementsGHSA-j3r3-mxqp-r2p4 · 28 Sep 2026Fixed in 20.3.30
- HighAngular: SSR XSS via Unescaped <template> Content Across DocumentFragment Boundaries in Fallback Raw-Content ElementsGHSA-v3p8-whq6-r5jg · 10 Sep 2026Fixed in 20.3.30
- HighAngular: SSRF and Cross-Origin Credential Disclosure via URL Resolution Discrepancy in SSRGHSA-f6mr-pjwc-34m4 · 10 Sep 2026Fixed in 20.3.30
- HighAngular SSR: Missing Fallback Raw-Content Serialization Escaping leads to Cross-Site Scripting (XSS)GHSA-vpx6-8pjr-4g3v · 3 Aug 2026Fixed in 20.3.27
6 more
- High@angular/platform-server: Missing `<noscript>` Raw-Text Serialization Escaping leads to Cross-Site Scripting (XSS) in Angular SSRGHSA-gxx4-3xcv-f8qx · 15 Jun 2026Fixed in 20.3.24
- High@angular/platform-server: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')GHSA-hqr9-c56f-3x7f · 15 Jun 2026Fixed in 20.3.24
- High@angular/platform-server: URL Parser Differential leading to SSRF Allowlist BypassGHSA-xrxm-cp7j-8xf6 · 15 Jun 2026Fixed in 20.3.22
- High@angular/platform-server: SSRF via Hostname HijackingGHSA-rfh7-fxqc-q52v · 19 May 2026Fixed in 20.3.21
- HighAngular: SSRF via protocol-relative and backslash URLs in Angular Platform-ServerGHSA-45q2-gjvg-7973 · 16 Apr 2026Fixed in 20.3.19
- Moderate@angular/platform-server: Open Redirect via Protocol-Relative URLs in Server-Side Rendering (SSR)GHSA-w739-gvwx-grc3 · 20 Oct 2026Fixed in 20.3.33
Release note
| Commit | Description |
|---|---|
| fix - a3f808d7c8 | remove refresh button from transfer state tab (#63592) |
core
| Commit | Description |
|---|---|
| feat - 6117ccee2e | introduce BootstrapContext for improved server bootstrapping (#63636) |
Breaking Changes
core
- Breaking
The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.
Before:
const bootstrap = () => bootstrapApplication(AppComponent, config);
After:
const bootstrap = (context: BootstrapContext) => bootstrapApplication(AppComponent, config, context);
A schematic is provided to automatically update
main.server.tsfiles to pass theBootstrapContextto thebootstrapApplicationcall.In addition,
getPlatform()anddestroyPlatform()will now returnnulland be a no-op respectively when running in a server environment.
For more information please see: github.com/angular/angular/security/advisories/…
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.