@angular/common
22.2.6 · 12 Nov 2026MIT8.1M / weekRepositoryHomepagenpmAtom feed
22.3.0 is the newest release of 22.x.
In short
1 deprecated
- Deprecated
XHR support in
@angular/platform-serveris deprecated. Use standardfetchAPIs instead. (cherry picked from commit 8446e46f8bc33bd4419fa7f6106b8d117ca2e099)
Security
Fixes 2 advisories that affected 22.0.0
- High@angular/common: Denial of Service (DoS) via OOM in Date Formatting (formatDate)GHSA-48r7-hpm6-gfxm · 15 Jun 2026Fixed in 22.0.1
- High@angular/common: Weak 32-Bit Cache Key Hashing in `HttpTransferCache` Leading to Cross-Request Data Leakage and State PoisoningGHSA-39pv-4j6c-2g6v · 15 Jun 2026Fixed in 22.0.1
2 advisories affect 22.0.1; 22.1.1 fixes them
- HighAngular: Cache-Key Ambiguity in HttpTransferCache Leading to Cross-Request Response Reuse and State PoisoningGHSA-jhpw-976m-542j · 3 Aug 2026Fixed in 22.0.2
- ModerateAngular: Information Leak via `HttpTransferCache` Bypass When Using `withRequestsMadeViaParent`GHSA-p297-fm68-3q8c · 10 Sep 2026Fixed in 22.1.1
Release note
Deprecations
platform-server
- Deprecated
XHR support in
@angular/platform-serveris deprecated. Use standardfetchAPIs instead.
(cherry picked from commit 8446e46)
common
| Commit | Type | Description |
|---|---|---|
| c4b5fa3c92 | fix | escape CSS string-terminating characters in escapeCssUrl |
| dfff57ede9 | fix | Limits date format string length |
| 3c2892c8df | fix | prevent prototype pollution in formatDateTime |
| 1d87c49f6e | fix | use cryptographically secure SHA-256 for transfer cache key generation |
compiler
| Commit | Type | Description |
|---|---|---|
| 1ee224ca30 | fix | disallow i18n event attributes |
| a56f1cdf8f | fix | more robust logic to check if regex can be optimized |
| 5946c18275 | fix | sanitize href/xlink:href attributes of any element of the MathML namespace |
| 393b84caf8 | fix | sanitize two-way properties |
compiler-cli
| Commit | Type | Description |
|---|---|---|
| 3d9ca2f173 | fix | bind switch exhaustive check expressions |
core
| Commit | Type | Description |
|---|---|---|
| 669146b0e7 | fix | disable WebMCP during SSR |
| 562a566ead | fix | Handle synchronous errors in PendingTasks.run function |
| fa546f382d | fix | harden TransferState restoration against DOM clobbering |
| 29fdb98684 | fix | prevent dangling prevConsumer reference from leaking destroyed views (#68681) |
| cdcea80327 | fix | require WebMCP tool descriptions |
| 4289c4c840 | fix | update comment for Default change detection |
| 3dd433b39a | fix | use Object.hasOwn to handle null-prototype objects in toStylingKeyValueArray |
| 045bb736b3 | fix | validate lowercase SVG animation attribute names |
forms
| Commit | Type | Description |
|---|---|---|
| 11836a670a | fix | delay mcp reading the form model by a tick |
| 85d2d100e3 | fix | harden FormGroup control lookups against prototype shadowing |
| e51ad374ea | fix | remove animationstart listener on component destroy to prevent memory leak |
| 55b7b5a6b6 | fix | set additionalProperties: false on generated WebMCP form |
http
| Commit | Type | Description |
|---|---|---|
| ffb06c0514 | fix | ensure query parameters are inserted before URL fragments |
| 2dd65d21e6 | fix | pass down the reportUploadProgress and reportDownloadProgress on post/patch requests |
| 4254eb416c | fix | preserve empty referrer option in HttpRequest |
| 167bd4c162 | fix | Rejects non-HTTP(S) URLs in JSONP requests |
language-service
| Commit | Type | Description |
|---|---|---|
| 43a0e28729 | fix | prevent external template inlay hints from appearing in TS files |
platform-server
| Commit | Type | Description |
|---|---|---|
| ed48ca7f51 | fix | harden platform location origin validation during SSR |
| 1881ede3a7 | refactor | deprecate ServerXhr |
router
| Commit | Type | Description |
|---|---|---|
| 43edc8410f | fix | use native URL object for navigation boundary and comparison |
service-worker
| Commit | Type | Description |
|---|---|---|
| cf97b1f828 | fix | Strips sensitive headers on cross-origin redirects |
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.