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

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-06-15T15:16:18.000Z
- Modified: 2026-09-10T03:50:50.394Z
- Also known as: GHSA-rgjc-h3x7-9mwg
- Weaknesses: CWE-79, CWE-471
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- angular angular: >= 22.0.0-next.0 < 22.0.1; >= 21.0.0-next.0 < 21.2.17; >= 20.0.0-next.0 < 20.3.25; <= 19.2.25; up to 19.2.25; from 20.0.0 before 20.3.25; from 21.0.0 before 21.2.17; from 22.0.0 before 22.0.1
- @angular/core (npm): from 22.0.0-next.0 before 22.0.1; from 21.0.0-next.0 before 21.2.17; from 20.0.0-next.0 before 20.3.25; up to 19.2.25

## Every score

- GitHub_M: CVSS:4.0 8.6 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 6.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/angular/angular/security/advisories/GHSA-rgjc-h3x7-9mwg> (third-party-advisory, web)
- <https://github.com/angular/angular/pull/69064> (issue-tracking, patch, web)
- <https://github.com/angular/angular/commit/6bde84fa8e6a5770b54040fbbc9bf10d5d0386fa> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54267> (advisory)
- <https://github.com/angular/angular> (package)

## Sources

- CVE List: [CVE-2026-54267](https://www.cve.org/CVERecord?id=CVE-2026-54267), CVE Terms of Use, modified 2026-06-22
- GitHub Advisory Database: [GHSA-rgjc-h3x7-9mwg](https://github.com/advisories/GHSA-rgjc-h3x7-9mwg), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-54267](https://nvd.nist.gov/vuln/detail/CVE-2026-54267), Public domain, modified 2026-07-09

---

Page: https://cve.day/CVE-2026-54267 · Whole record: https://cve.day/CVE-2026-54267.json · Rebuilt by cve.day 2026-11-25T22:59:25.374Z
