llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · @angular/common

GHSA-JHPW-976M-542J

Angular: Cache-Key Ambiguity in HttpTransferCache Leading to Cross-Request Response Reuse and State Poisoning

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche3 versionesPrimer parche a -47 d de la divulgación
Exposición108 dDesde la divulgación, 3 ago 2026, 10:59 a. m.
Detección105 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Parche 22.0.2
Parche 20.3.27 +1
Monitoreo
Detectada
17 jun 26
29 jul 26
3 ago 26
17 nov 26
19 nov 26
17 jun 26
26 jul 26
3 sept 26
12 oct 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 22.0.2 @angular/common · -47 d desde divulgación
Remediación Parche 20.3.27 @angular/common · -5 d desde divulgación
Remediación Parche 21.2.19 @angular/common · -5 d desde divulgación
Divulgación Publicada GHSA-JHPW-976M-542J divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Angular's `HttpTransferCache` caches HTTP requests made during Server-Side Rendering (SSR) so that they can be reused during client-side hydration.

During SSR, `HttpTransferCache` previously generated identical key material for distinct request parameters when repeated values were present because repeated values were joined with commas:

new HttpParams().set('role', 'user,admin')
new HttpParams().append('role', 'user').append('role', 'admin')

Both requests previously serialized as `role=user,admin`, allowing distinct `HttpClient` requests to produce the same transfer-cache key material.

Impact

In an SSR application, this cache-key ambiguity can make a later security-sensitive `HttpClient` request receive the response from an earlier semantically different request in the same render. For example, an attacker-influenced scalar-comma request can be cached and then replayed as the response for a trusted repeated-param authorization or data request to the same URL. As a result, Angular's server-rendered output can be based on the wrong backend response because the trusted request is not dispatched. This can lead to:

  • State Poisoning: Using incorrect or attacker-influenced cached responses for subsequent application logic.
  • Cross-Request Response Reuse: Reusing cached responses across requests with semantically different parameters.
Patched Versions
  • 22.0.2
  • 21.2.19
  • 20.3.27
Workarounds

If you cannot upgrade immediately, configure your `HttpClient` requests to skip transfer caching for sensitive endpoints where repeated parameter keys are used:

this.http.get('/api/resource', {
  transferCache: false
});

Alternatively, disable the HTTP transfer cache globally in your application bootstrap config:

import { provideClientHydration, withNoHttpTransferCache } from '@angular/platform-browser';

export const appConfig = {
  providers: [
    provideClientHydration(
      withNoHttpTransferCache()
    )
  ]
};
Versiones

Rangos afectados

Afectada Corregida Última
@angular/common≤ 19.2.25
@angular/common≥ 20.0.0-next.0 < 20.3.27
@angular/common≥ 21.0.0-next.0 < 21.2.19
@angular/common≥ 22.0.0-next.0 < 22.0.2
19.2.25
20.0.0-next.0
20.3.27
21.0.0-next.0
21.2.19
22.0.0-next.0
22.0.2
22.2.6
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@angular/common
Corregida 20.3.27, 21.2.19, 22.0.2 -5 d · -5 d · -47 d 22.2.6 no afectada
Versiones corregidas20.3.2721.2.1922.0.2
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Otrahttps://github.com/angular/angular/security/advisories/GHSA-jhpw-976m-542j
Otrahttps://github.com/angular/angular/pull/68571
Otrahttps://github.com/angular/angular/commit/6867f77ec779a0a24f6339ad6c775f444202103c
Otrahttps://github.com/angular/angular/commit/948a8d6831e8920b54663ec79421da95210e0e35
Otrahttps://github.com/angular/angular/commit/a64e2883e9dc4abdac70209129be303de79e5b2b
Otrahttps://github.com/angular/angular/commit/a6c7fc5c13e6e494a4c9bd8e773b8d4b2a99b20c
Otrahttps://github.com/angular/angular

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.