@angular/common vulnerabilities
Angular - commonly needed directives and services
- Registry
- npm
- Latest
- 22.2.6
- License
- MIT
8 known advisories
The latest version, 22.2.6, is not affected by any of them. Projects on older versions may be.
npm install @angular/common@22.2.6Is your project on an affected @angular/common?
Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for @angular/common
@angular/common: XSRF Token Leakage via URL Parsing Discrepancy in Angular HTTP Client (Incomplete fix for CVE-2025-66035)
- Affected
- >=21.0.0 <21.0.3 · >=20.0.0 <20.3.34 · <=19.2.25
- Fixed in
- 20.3.34, 21.0.3
Angular: Information Leak via `HttpTransferCache` Bypass When Using `withRequestsMadeViaParent`
- Affected
- >=22.0.0 <22.1.1 · >=21.0.0 <21.2.20 · >=20.0.0 <20.3.28 · <=19.2.25
- Fixed in
- 20.3.28, 21.2.20, 22.1.1
Angular: Cache-Key Ambiguity in HttpTransferCache Leading to Cross-Request Response Reuse and State Poisoning
- Affected
- >=22.0.0-next.0 <22.0.2 · >=21.0.0-next.0 <21.2.19 · >=20.0.0-next.0 <20.3.27 · <=19.2.25
- Fixed in
- 20.3.27, 21.2.19, 22.0.2
@angular/common: Denial of Service (DoS) via OOM in Date Formatting (formatDate)
- Affected
- >=22.0.0-next.0 <22.0.1 · >=21.0.0-next.0 <21.2.17 · >=20.0.0-next.0 <20.3.25 · <=19.2.25
- Fixed in
- 20.3.25, 21.2.17, 22.0.1
@angular/common: Weak 32-Bit Cache Key Hashing in `HttpTransferCache` Leading to Cross-Request Data Leakage and State Poisoning
- Affected
- >=22.0.0-next.0 <22.0.1 · >=21.0.0-next.0 <21.2.17 · >=20.0.0-next.0 <20.3.25 · <=19.2.25
- Fixed in
- 20.3.25, 21.2.17, 22.0.1
@angular/common: Denial of Service (DoS) via OOM in Number Formatting (digitsInfo)
- Affected
- >=22.0.0-next.0 <22.0.0-rc.2 · >=20.0.0-next.0 <20.3.22 · >=19.0.0-next.0 <19.2.23 · <=18.2.14 · >=21.0.0-next.0 <21.2.15
- Fixed in
- 19.2.23, 20.3.22, 21.2.15, 22.0.0-rc.2
@angular/common: Information Leak via Default Caching of Credentialed Requests in HttpTransferCache
- Affected
- >=22.0.0-next.0 <22.0.0-rc.2 · >=20.0.0-next.0 <20.3.22 · >=19.0.0-next.0 <19.2.23 · <=18.2.14 · >=21.0.0-next.0 <21.2.15
- Fixed in
- 19.2.23, 20.3.22, 21.2.15, 22.0.0-rc.2
Angular is Vulnerable to XSRF Token Leakage via Protocol-Relative URLs in Angular HTTP Client
- Affected
- >=21.0.0-next.0 <21.0.1 · >=20.0.0-next.0 <20.3.14 · <19.2.16
- Fixed in
- 19.2.16, 20.3.14, 21.0.1
Is your @angular/common version vulnerable?
- @angular/common 22.2No known advisories in 22.2.6
- @angular/common 22.1No known advisories in 22.1.8
- @angular/common 22.01 advisory in 22.0.8
- @angular/common 21.2No known advisories in 21.2.26
- @angular/common 21.16 advisories in 21.1.6
- @angular/common 21.06 advisories in 21.0.9
- @angular/common 20.3No known advisories in 20.3.35
- @angular/common 20.28 advisories in 20.2.4
- @angular/common 20.18 advisories in 20.1.8
- @angular/common 20.08 advisories in 20.0.7
Which of your client projects still run an old @angular/common?
NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other npm packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.