@angular/platform-server
22.2.6 · 12 Nov 2026MIT1M / weekRepositoryHomepagenpmAtom feed
21.2.26 is the newest release of 21.x.
In short
2 breaking
- Breaking
The shape of
SignalFormsConfig.classeshas changed - Breaking
(cherry picked from commit ae0c59028a2f393ea5716bf222db2c38e7a3989f)
Security
11 advisories affect 21.0.6; 21.2.25 fixes them
- HighAngular SSR: Denial of Service (DoS) via Infinite Loop on Malformed DOCTYPEGHSA-f67j-2jqw-jpq7 · 28 Sep 2026Fixed in 21.2.23
- HighAngular SSR: XSS via Unescaped Processing Instruction (<?...?>) Nodes in Fallback Raw-Content ElementsGHSA-j3r3-mxqp-r2p4 · 28 Sep 2026Fixed in 21.2.22
- HighAngular: SSR XSS via Unescaped <template> Content Across DocumentFragment Boundaries in Fallback Raw-Content ElementsGHSA-v3p8-whq6-r5jg · 10 Sep 2026Fixed in 21.2.22
- HighAngular: SSRF and Cross-Origin Credential Disclosure via URL Resolution Discrepancy in SSRGHSA-f6mr-pjwc-34m4 · 10 Sep 2026Fixed in 21.2.22
- HighAngular SSR: Missing Fallback Raw-Content Serialization Escaping leads to Cross-Site Scripting (XSS)GHSA-vpx6-8pjr-4g3v · 3 Aug 2026Fixed in 21.2.19
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 21.2.16
- High@angular/platform-server: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')GHSA-hqr9-c56f-3x7f · 15 Jun 2026Fixed in 21.2.16
- High@angular/platform-server: URL Parser Differential leading to SSRF Allowlist BypassGHSA-xrxm-cp7j-8xf6 · 15 Jun 2026Fixed in 21.2.15
- High@angular/platform-server: SSRF via Hostname HijackingGHSA-rfh7-fxqc-q52v · 19 May 2026Fixed in 21.2.13
- HighAngular: SSRF via protocol-relative and backslash URLs in Angular Platform-ServerGHSA-45q2-gjvg-7973 · 16 Apr 2026Fixed in 21.2.9
- Moderate@angular/platform-server: Open Redirect via Protocol-Relative URLs in Server-Side Rendering (SSR)GHSA-w739-gvwx-grc3 · 20 Oct 2026Fixed in 21.2.25
Release note
core
| Commit | Description |
|---|---|
| fix - 4c8fb3631d | throw better errors for potential circular references |
| fix - 48492524ea | use mutable ResponseInit type for RESPONSE_INIT token |
forms
| Commit | Description |
|---|---|
| feat - 81772b420d | pass field directive to class config |
| refactor - 729b96476b | rename field to fieldTree in FieldContext and ValidationError |
language-service
| Commit | Description |
|---|---|
| fix - e0694df3ec | avoid interpolation highlighting inside @let |
| fix - 5047be4bc1 | Prevent language service from crashing on suggestion diagnostic errors |
Breaking Changes
forms
- Breaking
The shape of
SignalFormsConfig.classeshas changedPreviously each function in the
classesmap took aFieldState. Now
it takes aFielddirective.For example if you previously had:
provideSignalFormsConfig({ classes: { 'my-valid': (state) => state.valid() } })You would need to update to:
provideSignalFormsConfig({ classes: { 'my-valid': ({state}) => state().valid() } })(cherry picked from commit 348f149)
- Breaking
(cherry picked from commit ae0c590)
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.