cve.bz

CVE-2026-54267 angular angular: Cross-site Scripting

8.6 highEPSS 0.4%Fix available

High (8.6) in angular angular. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in @angular/core 20.3.25, 21.2.17, 22.0.1.

On this page
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.

Severity

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

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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-06-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
CWE-471 Modification of Assumed-Immutable Data (MAID)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-54267 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-54267?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-54267?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-54267 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
angular:angularthrough 19.2.25
angular:angularfrom 20.0.0 before 20.3.25
angular:angularfrom 21.0.0 before 21.2.17
angular:angularfrom 22.0.0 before 22.0.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rgjc-h3x7-9mwgnpm@angular/core>=22.0.0-next.0 <22.0.122.0.1
GHSA-rgjc-h3x7-9mwgnpm@angular/core>=21.0.0-next.0 <21.2.1721.2.17
GHSA-rgjc-h3x7-9mwgnpm@angular/core>=20.0.0-next.0 <20.3.2520.3.25
GHSA-rgjc-h3x7-9mwgnpm@angular/core<=19.2.25no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13angular.jsno fix listedDEBIAN-CVE-2026-54267
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 5 moreangular.jsno fix listedUBUNTU-CVE-2026-54267

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat products do not ship an @angular/core version within the vulnerable range (>= 22.0.0-next.0, < 22.0.1). Additionally, no Red Hat product ships or uses Angular's Server-Side Rendering hydration feature (@angular/platform-server, @angular/ssr, provideClientHydration()) that this vulnerability depends on. Existing Angular usage in Red Hat's portfolio (Red Hat Advanced Cluster Management's volsync UI, Red Hat Integration Service Registry UI) uses versions outside the vulnerable range and does not implement client hydration with untrusted input bound to DOM element IDs.

Red Hat's mitigation

No mitigation is required. Red Hat products are not affected by this vulnerability, as detailed in the statement above.

ProductPackageStateAdvisory
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-operator-bundleNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-rhel9Not affected
Red Hat build of Apicurio Registry 3apicurio/apicurio-registry-ui-rhel8Not affected
Red Hat build of Apicurio Registry 3apicurio/apicurio-registry-ui-rhel9Not affected
Red Hat Ceph Storage 4cephNot affected
Red Hat Enterprise Linux 10cephNot affected
Red Hat Enterprise Linux 10firefoxNot affected
Red Hat Enterprise Linux 10gjsNot affected
Red Hat Enterprise Linux 10intel-cmt-catNot affected
Red Hat Enterprise Linux 10thunderbirdNot affected
Red Hat Enterprise Linux 7firefoxNot affected
Red Hat Enterprise Linux 8dotnet5.0-build-reference-packagesNot affected
Red Hat Enterprise Linux 8firefoxNot affected
Red Hat Enterprise Linux 8intel-cmt-catNot affected
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8thunderbirdNot affected
Red Hat Enterprise Linux 9cephNot affected
Red Hat Enterprise Linux 9firefoxNot affected
Red Hat Enterprise Linux 9gjsNot affected
Red Hat Enterprise Linux 9intel-cmt-catNot affected
1 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-54267.

Attack patterns (CAPEC)

  • CAPEC-384 Application API Message Manipulation via Man-in-the-Middle Severity: Low
  • CAPEC-385 Transaction or Event Tampering via Application API Manipulation Severity: Medium
  • CAPEC-386 Application API Navigation Remapping Severity: Medium
  • CAPEC-387 Navigation Remapping To Propagate Malicious Content Severity: Medium
  • CAPEC-388 Application API Button Hijacking Severity: Medium
  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-79.

References

Check your stackJSON