Angular: Information Leak via `HttpTransferCache` Bypass When Using `withRequestsMadeViaParent` (angular angular)
En bref
- Source
- NVD
- EPSS
- EPSS 0.34 % · centile 27 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Analyzed
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.
Faiblesses (CWE)
- CWE-200 — Exposition d'informations sensibles à un acteur non autorisé
- CWE-524 — Use of Cache Containing Sensitive Information
Références
- 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
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-p297-fm68-3q8c — Angular: Information Leak via `HttpTransferCache` Bypass When Using `withRequestsMadeViaParent`
Références européennes
- ENISA EUVD · EUVD-2026-75702
- GCVE · GCVE-0-2026-88059
Avis du CERT-FR
- CERTFR-2026-AVI-1336 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*≥ 19.0.0 ≤ 19.2.25cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*≥ 20.0.0 < 20.3.28cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*≥ 21.0.0 < 21.2.20cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*≥ 22.0.0 < 22.1.1
Produits affectés
| Produit | Versions |
|---|---|
| angular · angular | affected <= 19.2.25 ; affected >= 20.0.0, < 20.3.28 ; affected >= 21.0.0, < 21.2.20 ; affected >= 22.0.0, < 22.1.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |