p PatchFirst

CVE-2026-54267

CVE-2026-54267 · Angular Client Hydration DOM Clobbering & Response-Cache Poisoning

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.1, 21.2.17, and 20.3.25, to optimize client-side bootstrap in Server-Side Rendered (SSR) environments, Angular supports Hydration via provideClientHydration(). During SSR, Angular serializes the application's runtime state (such as cached HttpClient responses) and outputs it into the HTML stream as a <script> tag with a predictable identifier. During client bootstrap, Angular recovers this state by looking up the element via document.getElementById('ng-state') and parsing its text content. Because the DOM element lookup for the state container is predictable and relies solely on the ID selector (ng-state), it is susceptible to DOM Clobbering. If the application binds untrusted user input or CMS content to element properties such as id (e.g., <div [id]="userInput"> or <a id="ng-state">) before the genuine <script> tag is parsed by the browser, the attacker-controlled element takes precedence in the DOM lookup. During hydration, when Angular calls document.getElementById('ng-state'), the browser returns the attacker's clobbered element. Angular then attempts to parse the text content or attributes of this clobbered element as JSON. This vulnerability is fixed in 22.0.1, 21.2.17, and 20.3.25.

CVSS 8.6 · Alta · EPSS 0,4% · Corrección disponible

Publicación
Actualización

Pila tecnológica: system · node

Productos y versiones afectados

  • angular

    Versiones
    • >= 22.0.0-next.0 < 22.0.1: Afectada
    • >= 21.0.0-next.0 < 21.2.17: Afectada
    • >= 20.0.0-next.0 < 20.3.25: Afectada
    • <= 19.2.25: Afectada

    Sin corrección publicada

  • angular.js Debian:12

    Versiones
    • 1.8.3-1
    • 1.8.3-1+deb12u1
    • 1.8.3-1+deb12u1~deb11u1
    • 1.8.3-2
    • 1.8.3-3
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • angular.js Debian:13

    Versiones
    • 1.8.3-3
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • @angular/core npm

    Intervalos de versiones afectados
    • SEMVER: ≥ 22.0.0-next.0, < 22.0.1

    Actualiza a 22.0.1

  • @angular/core npm

    Intervalos de versiones afectados
    • SEMVER: ≥ 21.0.0-next.0, < 21.2.17

    Actualiza a 21.2.17

  • @angular/core npm

    Intervalos de versiones afectados
    • SEMVER: ≥ 20.0.0-next.0, < 20.3.25

    Actualiza a 20.3.25

  • @angular/core npm

    Intervalos de versiones afectados
    • SEMVER: ≤ 19.2.25

    Sin corrección publicada

  • angular.js Ubuntu:Pro:16.04:LTS

    Versiones
    • 1.2.28-1ubuntu2
    • 1.2.28-1ubuntu2+esm1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • angular.js Ubuntu:Pro:18.04:LTS

    Versiones
    • 1.5.10-1
    • 1.5.10-1ubuntu0.1~esm1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • angular.js Ubuntu:Pro:20.04:LTS

    Versiones
    • 1.5.10-1
    • 1.7.9-1
    • 1.7.9-1ubuntu0.1~esm1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • angular.js Ubuntu:22.04:LTS

    Versiones
    • 1.8.2-2
    • 1.8.2-2ubuntu0.1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • angular.js Ubuntu:24.04:LTS

    Versiones
    • 1.8.3-1
    • 1.8.3-1ubuntu0.24.04.1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • angular.js Ubuntu:25.10

    Versiones
    • 1.8.3-1
    • 1.8.3-3
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • angular.js Ubuntu:26.10

    Versiones
    • 1.8.3-3
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • angular.js Ubuntu:26.04:LTS

    Versiones
    • 1.8.3-3
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →