@angular/platform-server
22.2.6 · 12 Nov 2026MIT1M / weekRepositoryHomepagenpmAtom feed
18.2.14 is the newest release of 18.x.
In short
1 breaking3 deprecated
- Breaking
Legacy handling or Node.js URL parsing has been removed from
ServerPlatformLocation. - Deprecated
Deprecated
platformDynamicServerhas been removed. Add animport @angular/compilerand replace the usage withplatformServer - Deprecated
Deprecated
ServerTransferStateModulehas been removed.TransferStatecan be use without providing this module. - Deprecated
Deprecated
useAbsoluteUrlandbaseUrlbeen removed fromPlatformConfig. Provide and absoluteurlinstead.
Security
12 advisories affect 18.0.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
7 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 19.2.25
- High@angular/platform-server: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')GHSA-hqr9-c56f-3x7f · 15 Jun 2026Fixed in 19.2.25
- High@angular/platform-server: URL Parser Differential leading to SSRF Allowlist BypassGHSA-xrxm-cp7j-8xf6 · 15 Jun 2026Fixed in 19.2.23
- High@angular/platform-server: SSRF via Hostname HijackingGHSA-rfh7-fxqc-q52v · 19 May 2026Fixed in 19.2.22
- HighAngular: SSRF via protocol-relative and backslash URLs in Angular Platform-ServerGHSA-45q2-gjvg-7973 · 16 Apr 2026Fixed in 19.2.21
- HighAngular SSR: Global Platform Injector Race Condition Leads to Cross-Request Data LeakageGHSA-68x2-mx4q-78m7 · 10 Sep 2025Fixed in 18.2.14
- 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
The section about @angular/platform-server of a note shared by several packages.
platform-server
| Commit | Description |
|---|---|
| fix - 5674c644ab | add nonce attribute to event record script (#55495) |
| fix - e71e869112 | remove event dispatch script from HTML when hydration is disabled (#55681) |
| refactor - 07ac017731 | remove deprecated platformDynamicServer API (#54874) |
| refactor - e8b588d8b7 | remove deprecated ServerTransferStateModule API (#54874) |
| refactor - 3b1967ca64 | remove deprecated useAbsoluteUrl and baseUrl from PlatformConfig (#54874) |
| refactor - 2357d3566c | remove legacy URL handling logic (#54874) |
Breaking Changes
platform-server
- Deprecated
Deprecated
platformDynamicServerhas been removed. Add animport @angular/compilerand replace the usage withplatformServer - Deprecated
Deprecated
ServerTransferStateModulehas been removed.TransferStatecan be use without providing this module. - Deprecated
Deprecated
useAbsoluteUrlandbaseUrlbeen removed fromPlatformConfig. Provide and absoluteurlinstead. - Breaking
Legacy handling or Node.js URL parsing has been removed from
ServerPlatformLocation.The main differences are;
pathnameis always suffixed with a/.portis empty whenhttp:protocol and port in url is80portis empty whenhttps:protocol and port in url is443
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.