@angular/ssr
22.2.7 · 12 Nov 2026MIT754.5k / weekRepositorynpmAtom feed
Your version
19.2.27 is the newest release of 19.x.
In short
1 breaking
- Breaking
The
CommonEngineAPI now needs to be imported from@angular/ssr/node.
Security
6 advisories affect 19.0.0; 20.3.36 fixes them
- CriticalAngular SSR is vulnerable to SSRF and Header Injection via request handling pipelineGHSA-x288-3778-4hhx · 25 Feb 2026Fixed in 19.2.21
- HighAngular SSR has a Server-Side Request Forgery (SSRF) flawGHSA-q63q-pgmf-mxhr · 16 Oct 2025Fixed in 19.2.18
- HighAngular SSR: Global Platform Injector Race Condition Leads to Cross-Request Data LeakageGHSA-68x2-mx4q-78m7 · 10 Sep 2025Fixed in 19.2.16
- ModerateAngular SSR: Path Traversal to Sibling Directories in CommonEngine on WindowsGHSA-7g7c-h8rr-7p6q · 5 Oct 2026Fixed in 20.3.36
- ModerateAngular SSR has Open Redirect and Request Steering via Encoded X-Forwarded-PrefixGHSA-69xr-m8h6-h664 · 6 May 2026Fixed in 19.2.25
1 more
- ModerateAngular SSR has an Open Redirect via X-Forwarded-PrefixGHSA-xh43-g2fq-wjrj · 25 Feb 2026Fixed in 19.2.21
Release note
The section about @angular/ssr of a note shared by several packages.
@angular/ssr
| Commit | Description |
|---|---|
| feat - 92209dd2e | add createRequestHandler and createNodeRequestHandler utilities |
| feat - 41fb2ed86 | Add getHeaders Method to AngularAppEngine and AngularNodeAppEngine for handling pages static headers |
| feat - f346ee8a8 | add isMainModule function |
| feat - d66aaa3ca | add server routing configuration API |
| feat - bca568389 | dynamic route resolution using Angular router |
| feat - 30c25bf68 | export AngularAppEngine as public API |
| feat - 455b5700c | expose writeResponseToNodeResponse and createWebRequestFromNodeRequest in public API |
| feat - 9692a9054 | improve handling of aborted requests in AngularServerApp |
| feat - 576ff604c | introduce AngularNodeAppEngine API for Node.js integration |
| feat - 3c9697a8c | introduce new hybrid rendering API |
| feat - 4b09887a9 | move CommonEngine API to /node entry-point |
| fix - d43180af5 | add missing peer dependency on @angular/platform-server |
| fix - 74b3e2d51 | add validation to prevent use of provideServerRoutesConfig in browser context |
| fix - 2640bf7a6 | correct route extraction and error handling |
| fix - 44077f54e | designate package as side-effect free |
| fix - df4e1d360 | enable serving of prerendered pages in the App Engine |
| fix - 0793c78cf | ensure wildcard RenderMode is applied when no Angular routes are defined |
| fix - 65b6e75a5 | export RESPONSE_INIT, REQUEST, and REQUEST_CONTEXT tokens |
| fix - 4ecf63a77 | export PrerenderFallback |
| fix - 50df63196 | improve handling of route mismatches between Angular server routes and Angular router |
| fix - 3cf7a5223 | initialize the DI tokens with null to avoid requiring them to be set to optional |
| fix - 85df4011b | resolve bootstrap is not a function error |
| fix - e9c9e4995 | resolve circular dependency issue from main.server.js reference in manifest |
| fix - 64c52521d | show error when multiple routes are set with RenderMode.AppShell |
| fix - 280ebbda4 | support for HTTP/2 request/response handling |
| fix - fb05e7f0a | use wildcard server route configuration on the '/' route when the app router is empty |
| perf - 12ff37adb | cache generated inline CSS for HTML |
| perf - 1d70e3b46 | cache resolved entry-points |
| perf - f460b91d4 | integrate ETags for prerendered pages |
| perf - e52ae7f6f | prevent potential stampede in entry-points cache |
Breaking Changes
@angular/ssr
- Breaking
The
CommonEngineAPI now needs to be imported from@angular/ssr/node.Before
import { CommonEngine } from '@angular/ssr';After
import { CommonEngine } from '@angular/ssr/node';
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.