@angular/common
22.2.6 · 12 Nov 2026MIT8.1M / weekRepositoryHomepagenpmAtom feed
Your version
21.2.26 is the newest release of 21.x.
Security
Fixes 2 advisories that affected 21.2.14
- High@angular/common: Denial of Service (DoS) via OOM in Number Formatting (digitsInfo)GHSA-p3vc-36g9-x9gr · 15 Jun 2026Fixed in 21.2.15
- High@angular/common: Information Leak via Default Caching of Credentialed Requests in HttpTransferCacheGHSA-q6f4-qqrg-jv6x · 15 Jun 2026Fixed in 21.2.15
4 advisories affect 21.2.15; 21.2.20 fixes them
- HighAngular: Cache-Key Ambiguity in HttpTransferCache Leading to Cross-Request Response Reuse and State PoisoningGHSA-jhpw-976m-542j · 3 Aug 2026Fixed in 21.2.19
- High@angular/common: Denial of Service (DoS) via OOM in Date Formatting (formatDate)GHSA-48r7-hpm6-gfxm · 15 Jun 2026Fixed in 21.2.17
- 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 21.2.17
- ModerateAngular: Information Leak via `HttpTransferCache` Bypass When Using `withRequestsMadeViaParent`GHSA-p297-fm68-3q8c · 10 Sep 2026Fixed in 21.2.20
Release note
common
| Commit | Type | Description |
|---|---|---|
| 7f4ac78994 | fix | add upper bounds for digitsInfo |
| 300f61feb3 | fix | sanitize placeholder |
compiler
| Commit | Type | Description |
|---|---|---|
| 0b07f47bd6 | fix | normalize tag names with custom namespaces in DomElementSchemaRegistry (#68925) |
| eb1cbbf2eb | fix | prevent namespaced SVG <style> elements from being stripped |
| cc1378d54b | fix | sanitize dynamic href and xlink:href bindings on SVG a elements (#68925) |
| 782e01594e | fix | strip namespaced SVG script elements during template compilation (#68925) |
core
| Commit | Type | Description |
|---|---|---|
| ff12fe55ac | fix | normalize tag names in runtime i18n attribute security context lookup (#68925) |
| e6fe77cc97 | fix | sanitize meta selectors |
| daaf32937f | fix | support prefix-insensitive DOM schema lookups and compile-time i18n attribute validation (#68925) |
| dada86e43d | fix | synchronize core sanitization schema with compiler (#68925) |
http
| Commit | Type | Description |
|---|---|---|
| 582a417bd2 | fix | exclude withCredentials requests from transfer cache |
| 5c6d6df34b | fix | skip TransferCache for cookie-bearing requests by default |
platform-server
| Commit | Type | Description |
|---|---|---|
| 37e8aadf87 | fix | prevent SSRF bypasses via backslash URLs in HttpClient |
| 72696e244e | fix | secure location and document initialization against SSRF and path hijack |
service-worker
| Commit | Type | Description |
|---|---|---|
| b8bd49341d | fix | Preserves explicit 'credentials: omit' in asset requests |
| ca32fc1000 | fix | Preserves HTTP cache mode in asset group requests |
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.