@angular/ssr
22.2.7 · 12 Nov 2026MIT754.5k / weekRepositorynpmAtom feed
22.3.0 is the newest release of 22.x.
In short
1 breaking1 deprecated
- Breaking
The server no longer falls back to Client-Side Rendering (CSR) when a request fails host validation. Requests with unrecognized 'Host' headers will now return a 400 Bad Request status code. Users must ensure all valid hosts are correctly configured in the 'allowedHosts' option.
- Deprecated
CommonEngine APIs are deprecated in favor of AngularNodeAppEngine or AngularAppEngine.
Security
1 advisory affects 22.0.0; 22.1.7 fixes them
- ModerateAngular SSR: Path Traversal to Sibling Directories in CommonEngine on WindowsGHSA-7g7c-h8rr-7p6q · 5 Oct 2026Fixed in 22.1.7
Release note
The section about @angular/ssr of a note shared by several packages.
@angular/ssr
| Commit | Description |
|---|---|
| fix - 5adc92541 | enforce explicit opt-in for proxy headers |
| fix - f85343925 | support all X-Forwarded-* headers when trustProxyHeaders is true |
| fix - 8471ba634 | support server-side rendering configuration options |
| refactor - 50b16a65b | deprecate CommonEngine APIs |
| refactor - 27cd35561 | remove CSR fallback for invalid hosts |
Breaking Changes
@angular/ssr
- Breaking
The server no longer falls back to Client-Side Rendering (CSR) when a request fails host validation. Requests with unrecognized 'Host' headers will now return a 400 Bad Request status code. Users must ensure all valid hosts are correctly configured in the 'allowedHosts' option.
Deprecations
@angular/ssr
- Deprecated
CommonEngine APIs are deprecated in favor of AngularNodeAppEngine or AngularAppEngine.
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.