1. Accueil
  2. Vulnérabilités
  3. CVE-2026-54267

CVE-2026-54267

Angular is a development platform for building mobile and desktop web applications using…

Publiée le 22 juin 2026 · modifiée le 9 juil. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 30/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Angular (4 ligne(s))
Angular
ProduitVersionsCorrigé dansSource
Angular jusqu’à 19.2.25 (inclus) — NVD
Angular de 20.0.0 (inclus) à 20.3.25 (exclu) — NVD
Angular de 21.0.0 (inclus) à 21.2.17 (exclu) — NVD
Angular de 22.0.0 (inclus) à 22.0.1 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (CVSS 3.1, NVD)
Faiblesse
CWE-79 · Script intersite (XSS)

Comment sont obtenues et calculées ces données