CVE-2026-54267
Angular Client Hydration DOM Clobbering & Response-Cache Poisoning
Description
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.
INFO
Published Date :
June 22, 2026, 4:16 p.m.
Last Modified :
July 9, 2026, 3:39 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-54267
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | HIGH | [email protected] |
Solution
- Update Angular to version 22.0.1.
- Update Angular to version 21.2.17.
- Update Angular to version 20.3.25.
- Avoid binding untrusted input to element IDs before hydration.
Public PoC/Exploit Available at Github
CVE-2026-54267 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-54267.
| URL | Resource |
|---|---|
| https://github.com/angular/angular/commit/6bde84fa8e6a5770b54040fbbc9bf10d5d0386fa | Patch |
| https://github.com/angular/angular/pull/69064 | Issue Tracking Patch |
| https://github.com/angular/angular/security/advisories/GHSA-rgjc-h3x7-9mwg | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-54267 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-54267
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Config files for my GitHub profile.
config github-config
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-54267 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-54267 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Reanalysis by [email protected]
Jul. 09, 2026
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:angularjs:angularjs:22.0.0:next0:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next1:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next10:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next11:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next12:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next2:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next3:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next4:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next5:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next6:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next7:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next8:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next9:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:rc0:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* versions from (including) 20.0.0 up to (excluding) 20.3.25 *cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* versions from (including) 21.0.0 up to (excluding) 21.2.17 *cpe:2.3:a:angularjs:angularjs:22.0.0:rc2:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:rc3:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* versions up to (including) 19.2.25 OR *cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* versions up to (including) 19.2.25 *cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* versions from (including) 20.0.0 up to (excluding) 20.3.25 *cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* versions from (including) 21.0.0 up to (excluding) 21.2.17 *cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* versions from (including) 22.0.0 up to (excluding) 22.0.1 -
Initial Analysis by [email protected]
Jun. 26, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Added CPE Configuration OR *cpe:2.3:a:angularjs:angularjs:22.0.0:next0:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next1:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next10:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next11:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next12:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next2:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next3:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next4:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next5:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next6:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next7:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next8:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next9:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:rc0:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* versions from (including) 20.0.0 up to (excluding) 20.3.25 *cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* versions from (including) 21.0.0 up to (excluding) 21.2.17 *cpe:2.3:a:angularjs:angularjs:22.0.0:rc2:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:rc3:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* versions up to (including) 19.2.25 Added Reference Type GitHub, Inc.: https://github.com/angular/angular/commit/6bde84fa8e6a5770b54040fbbc9bf10d5d0386fa Types: Patch Added Reference Type GitHub, Inc.: https://github.com/angular/angular/pull/69064 Types: Issue Tracking, Patch Added Reference Type GitHub, Inc.: https://github.com/angular/angular/security/advisories/GHSA-rgjc-h3x7-9mwg Types: Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 22, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-54267', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-22T16:00:23.479828Z'} -
New CVE Received by [email protected]
Jun. 22, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'angular', 'product': 'angular', 'versions': [{'status': 'affected', 'version': '>= 22.0.0-next.0 < 22.0.1'}, {'status': 'affected', 'version': '>= 21.0.0-next.0 < 21.2.17'}, {'status': 'affected', 'version': '>= 20.0.0-next.0 < 20.3.25'}, {'status': 'affected', 'version': '<= 19.2.25'}]}] Added Description 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. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-79 Added CWE CWE-471 Added Reference https://github.com/angular/angular/commit/6bde84fa8e6a5770b54040fbbc9bf10d5d0386fa Added Reference https://github.com/angular/angular/pull/69064 Added Reference https://github.com/angular/angular/security/advisories/GHSA-rgjc-h3x7-9mwg