CVE-2026-54267 Angular Client Hydration DOM Clobbering & Response-Cache Poisoning
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
8 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/angular.js(Debian 12) | = 1.8.3-1; = 1.8.3-1+deb12u1; = 1.8.3-1+deb12u1~deb11u1; = 1.8.3-2 +2 more | No fix listed | No fix yet |
| debian/angular.js(Debian 13) | = 1.8.3-3; All versions | No fix listed | No fix yet |
| ubuntu/angular.js(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/angular.js(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/angular.js(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/angular.js(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| angular | <= 19.2.25; = <= 19.2.25; = >= 20.0.0-next.0 < 20.3.25; = >= 21.0.0-next.0 < 21.2.17 +4 more | 20.3.25, 21.2.17, 22.0.1 | Fixed |
| angular core(npm) | <= 19.2.25; >= 20.0.0-next.0, < 20.3.25; >= 21.0.0-next.0, < 21.2.17; >= 22.0.0-next.0, < 22.0.1 | 20.3.25, 21.2.17, 22.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| angular | = >= 22.0.0-next.0 < 22.0.1 | No fix listed |
| angular | = >= 21.0.0-next.0 < 21.2.17 | No fix listed |
| angular | = >= 20.0.0-next.0 < 20.3.25 | No fix listed |
| angular | = <= 19.2.25 | No fix listed |
| angular core(npm) | >= 22.0.0-next.0, < 22.0.1 | 22.0.1 |
| angular core(npm) | >= 21.0.0-next.0, < 21.2.17 | 21.2.17 |
| angular core(npm) | >= 20.0.0-next.0, < 20.3.25 | 20.3.25 |
| angular core(npm) | <= 19.2.25 | No fix listed |
| debian/angular.js(Debian:12) | All versions | No fix listed |
| debian/angular.js(Debian:12) | = 1.8.3-1 | No fix listed |
| debian/angular.js(Debian:12) | = 1.8.3-1+deb12u1 | No fix listed |
| debian/angular.js(Debian:12) | = 1.8.3-1+deb12u1~deb11u1 | No fix listed |
| debian/angular.js(Debian:12) | = 1.8.3-2 | No fix listed |
| debian/angular.js(Debian:12) | = 1.8.3-3 | No fix listed |
| debian/angular.js(Debian:13) | All versions | No fix listed |
| debian/angular.js(Debian:13) | = 1.8.3-3 | No fix listed |
| ubuntu/angular.js(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/angular.js(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/angular.js(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/angular.js(Ubuntu:26.10) | All versions | No fix listed |
| angular | <= 19.2.25 | No fix listed |
| angular | >= 20.0.0, < 20.3.25 | 20.3.25 |
| angular | >= 21.0.0, < 21.2.17 | 21.2.17 |
| angular | >= 22.0.0, < 22.0.1 | 22.0.1 |
References
- https://github.com/angular/angular/security/advisories/GHSA-rgjc-h3x7-9mwg third-party-advisory vendor-advisory
- https://github.com/angular/angular/pull/69064 issue-tracking patch
- https://github.com/angular/angular/commit/6bde84fa8e6a5770b54040fbbc9bf10d5d0386fa patch
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2491421 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- Debian Security Tracker CVE-2026-54267 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- github.com product