Description
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 20.3.28, 21.2.20, and 22.1.1, Angular's @angular/common HttpTransferCache can cache an authenticated response when Server-Side Rendering (SSR) and hydration use a hierarchical HttpClient configured with withRequestsMadeViaParent. The child TransferCache evaluates an initially anonymous request before delegation, then a parent withInterceptors chain adds an Authorization header, cookie, or API token; although the parent cache skips the authenticated request, the child still stores the private response in TransferState serialized as JSON in the ng-state script. Exploitation requires provideClientHydration, child provideHttpClient delegation through withRequestsMadeViaParent, parent-level credential injection, and an SSR HTML response shared across users by a CDN, reverse proxy, or application cache. A later unauthenticated or unauthorized visitor can receive the cached HTML containing the earlier authenticated user's sensitive response data. Applications can mitigate by attaching credentials at the child, filtering sensitive endpoints with withHttpTransferCacheOptions, disabling transfer caching for sensitive routes, or marking personalized HTML private or no-store. This issue is fixed in versions 20.3.28, 21.2.20, and 22.1.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| angular | angular | <= 19.2.25, >= 20.0.0, < 20.3.28, >= 21.0.0, < 21.2.20, >= 22.0.0, < 22.1.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | angular.js | No fix yet | — |
| Debian 12 | angular.js | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | angular.js | No fix yet | — |
| Ubuntu 26.04 LTS | angular.js | No fix yet | — |
| Ubuntu 24.04 LTS | angular.js | No fix yet | — |
| Ubuntu 22.04 LTS | angular.js | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | angular.js | No fix yet | — |
| Ubuntu Pro 18.04 LTS | angular.js | No fix yet | — |
| Ubuntu Pro 16.04 LTS | angular.js | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | katib-suggestion-hyperopt | 0.19.0-r40 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @angular/common | >= 22.0.0, < 22.1.1 | 22.1.1 | GHSA-p297-fm68-3q8c |
| npm | @angular/common | >= 21.0.0, < 21.2.20 | 21.2.20 | GHSA-p297-fm68-3q8c |
| npm | @angular/common | >= 20.0.0, < 20.3.28 | 20.3.28 | GHSA-p297-fm68-3q8c |
| npm | @angular/common | <= 19.2.25 | — | GHSA-p297-fm68-3q8c |
Advisories 1
- WID-SEC-2026-3318 Angular: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 10, 2026
References
- https://github.com/angular/angular/security/advisories/GHSA-p297-fm68-3q8c
- https://github.com/angular/angular/issues/69777
- https://github.com/angular/angular/pull/69778
- https://github.com/angular/angular/commit/c45028e44f5f3c1e0006eaccf86642deca51b2af
- https://github.com/angular/angular/commit/caf616670fd20d528aa69e0131cc17d60f0cc27d
- https://github.com/angular/angular/commit/e4c416c20a1cb222ce73d29c035452b257380c56
- https://github.com/angular/angular/releases/tag/v20.3.28
- https://github.com/angular/angular/releases/tag/v21.2.20
- https://github.com/angular/angular/releases/tag/v22.1.1