Skip to content
Fencer Vulns
medium 6.1

CVE-2026-54267 json

Angular Client Hydration DOM Clobbering & Response-Cache Poisoning

published 2026-06-15 4 mo ago modified 2026-09-10 1 mo ago also EUVD-2026-38271 , GHSA-rgjc-h3x7-9mwg

cvss
6.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 32%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm @angular/core 20.3.25, 21.2.17, 22.0.1
  • angular angular 20.3.25, 21.2.17, 22.0.1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-54267 updated cvss 4.7

@angular/core: Angular Client Hydration DOM Clobbering & Response-Cache Poisoning

  • Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/volsync-rhel9, rhacm2/volsync-operator-bundle Red Hat build of Apicurio Registry 3 apicurio/apicurio-registry-ui-rhel8, apicurio/apicurio-registry-ui-rhel9 Red Hat Ceph Storage 4 ceph, librbd1, librgw2, rbd-nbd, ceph-mds, ceph-mgr, +27 more Red Hat Enterprise Linux 7 firefox, firefox 140.12.0-1.el10_2 Red Hat Enterprise Linux 8 firefox, mozjs60, thunderbird, firefox 140.12.0-1.el10_2, intel-cmt-cat 25.04-1.el10, thunderbird 140.11.0-1.el10_0, +1 more Red Hat Enterprise Linux 9 firefox, librbd1, librados2, firefox-x11, thunderbird, gjs 1.80.2-11.el10, +3 more
    +1 more products
    Red Hat Enterprise Linux 10 ceph, gjs 1.80.2-11.el10, firefox 140.12.0-1.el10_2, intel-cmt-cat 25.04-1.el10, thunderbird 140.11.0-1.el10_0
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
4 mo ago

Exploit prediction

0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 8.6 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 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CNA 4.0 8.6 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/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
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
npm @angular/core
>=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
22.0.1
21.2.17
20.3.25

Affected products

  • angular angular

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
  • CWE-471 Modification of Assumed-Immutable Data (MAID)

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.