CWEweakness

CWE-1021 Improper Restriction of Rendered UI Layers or Frames

Official page ↗
Alternate terms
Clickjacking, UI Redress Attack, Tapjacking
Abstraction
Base
Structure
Simple
Status
Incomplete
Languages
Not Language-Specific
CWE version
5.0

Description

The web application does not restrict or incorrectly restricts frame objects or UI layers that belong to another application or domain.

Common consequences

• Access Control: Gain Privileges or Assume Identity, Bypass Protection Mechanism, Read Application Data, Modify Application Data — An attacker can trick a user into performing actions that are masked and hidden from the user's view. The impact varies widely, depending on the functionality of the underlying application. For example, in a social media application, clickjacking could be used to trick the user into changing privacy settings.

Potential mitigations

• [Implementation] Use the "frame-ancestors" directive in the Content Security Policy, which is intended to define restrictions when it comes to allowing embedded content [REF-1544]. • [Implementation] The use of X-Frame-Options (now partially obsolete as of September 2026 [REF-1545]) allows developers of web content to restrict the usage of their application within the form of overlays, frames, or iFrames. The developer can indicate from which domains can frame the content. The concept of X-Frame-Options is well documented, but implementation of this protection mechanism is in development to cover gaps; often, there is a need for allowing frames from multiple domains. • [Implementation] Use a "frame-breaker" script in each page that should not be framed. This is very helpful for legacy browsers that do not support the X-Frame-Options security feature previously mentioned (which is now partially obsolete). • [Implementation] In addition to frames or iframes as previously mentioned, the web application is expected to place restrictions on whether it is allowed to be rendered within objects, embed, or applet elements.

Detection methods

• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Observed examples

• CVE-2017-7440: E-mail preview feature in a desktop application allows clickjacking attacks via a crafted e-mail message • CVE-2017-5697: Hardware/firmware product has insufficient clickjacking protection in its web user interface • CVE-2017-4015: Clickjacking in data-loss prevention product via HTTP response header. • CVE-2016-2496: Tapjacking in permission dialog for mobile OS allows access of private storage using a partially-overlapping window. • CVE-2015-1241: Tapjacking in web browser related to page navigation and touch/gesture events. • CVE-2017-0492: System UI in mobile OS allows a malicious application to create a UI overlay of the entire screen to gain privileges.

Related

Attack pattern · CAPEC (7)

Observed example · CVE (6)

  • CVE-2017-5697 Insufficient clickjacking protection in the Web User Interface of Intel AMT firmware versions before 9.1.40.1000, 9.5.60.1952,… vulnerability
  • CVE-2017-4015 Clickjacking vulnerability in the server in McAfee Network Data Loss Prevention (NDLP) 9.3.x allows remote authenticated users to inject… vulnerability
  • CVE-2017-7440 Kerio Connect 8.0.0 through 9.2.2, and Kerio Connect Client desktop application for Windows and Mac 9.2.0 through 9.2.2, when e-mail… vulnerability
  • CVE-2017-0492 An elevation of privilege vulnerability in the System UI could enable a local malicious application to create a UI overlay covering the… vulnerability
  • CVE-2016-2496 The Framework UI permission-dialog implementation in Android 6.x before 2016-06-01 allows attackers to conduct tapjacking attacks and… vulnerability
  • CVE-2015-1241 Google Chrome before 42.0.2311.90 does not properly consider the interaction of page navigation with the handling of touch events and… vulnerability

Child of · CWE (3)

  • CWE-441 Unintended Proxy or Intermediary weakness
  • CWE-451 User Interface (UI) Misrepresentation of Critical Information weakness
  • CWE-610 Externally Controlled Reference to a Resource in Another Sphere weakness

Referenced by CAPEC · weakness (7)

Referenced by CVE · weakness (431)

  • CVE-2026-20942 Improper restriction of rendered ui layers or frames in Microsoft Edge (Chromium-based) allows an unauthorized attacker to perform spoofing… vulnerability
  • CVE-2026-67079 HCL BigFix AEX is affected by a Clickjacking vulnerability, which could allow an attacker to embed the application within a malicious web… vulnerability
  • CVE-2026-77062 The boneIO Black web interface lacks proper clickjacking protections. vulnerability
  • CVE-2026-114125 Storybook is a frontend workshop for building user interface components and pages in isolation. vulnerability
  • CVE-2026-60008 Gitea's Jupyter notebook renderer inserts the notebook's language_info.name metadata into a CSS class attribute while disabling… vulnerability
  • CVE-2026-108901 A vulnerability was found in Shenzhen HCC Technology MPOS M6 PLUS 1.31-N. vulnerability
  • CVE-2026-109290 Open WebUI from 0.11.1 before 0.11.4 contains a stored cross-site scripting vulnerability in DocxPreview.svelte that allows authenticated… vulnerability
  • CVE-2026-106311 Clickjacking in PermissionElement in Google Chrome prior to 155.0.8059.39 allowed a remote attacker leveraging social engineering to spoof… vulnerability
  • CVE-2026-106356 Clickjacking in EVP in Google Chrome prior to 155.0.8059.39 allowed a remote attacker leveraging social engineering to spoof UI elements… vulnerability
  • CVE-2026-106400 Clickjacking in Messages in Google Chrome on on Android prior to 155.0.8059.39 allowed a remote attacker leveraging social engineering to… vulnerability
  • CVE-2026-71177 Dell Secure Connect Gateway (SCG) Policy Manager, versions prior to 5.34.00.16, contains an Improper Restriction of Rendered UI Layers or… vulnerability
  • CVE-2026-84388 A improper restriction of rendered ui layers or frames vulnerability in Fortinet FortiPAM Chrome Extension 8.0 all versions, FortiPAM… vulnerability
  • CVE-2026-43688 A memory corruption issue was addressed with improved input validation. vulnerability
  • CVE-2026-86911 This issue was addressed with improved state management. vulnerability
  • CVE-2026-87486 Clickjacking in TrustedWebActivities in Google Chrome on on Android prior to 153.0.8010.36 allowed a local attacker to spoof address bar… vulnerability
  • CVE-2026-87538 Clickjacking in Input in Google Chrome prior to 153.0.8010.36 allowed a remote attacker who had compromised the renderer process and… vulnerability
  • CVE-2026-87655 Clickjacking in Downloads in Google Chrome prior to 153.0.8010.36 allowed a remote attacker leveraging social engineering to spoof UI… vulnerability
  • CVE-2026-87995 Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. vulnerability
  • CVE-2026-28656 In multiple functions of DeviceAdminAdd.java, there is a possible way to an overlay due to a tapjacking/overlay attack. vulnerability
  • CVE-2026-84139 Clickjacking issue in the DOM: Events component. vulnerability
  • CVE-2026-75548 The affected Ebyte device web management interface does not restrict the interface from being rendered within an external frame. vulnerability
  • CVE-2026-18534 ArcSearch for iOS versions prior to 1.48.0 could keep the address bar hidden after a page-initiated scroll, allowing attacker-controlled… vulnerability
  • CVE-2026-74951 Clickjacking issue in Firefox for Android. vulnerability
  • CVE-2026-74958 Information disclosure in the WebRTC component. vulnerability
  • CVE-2026-74978 Clickjacking issue in the Widget component. vulnerability
  • CVE-2026-74980 Clickjacking issue in the Downloads component in Firefox for Android. vulnerability
  • CVE-2026-44762 SAP Data Services Management Console allows an overly permissive Content Security Policy (CSP) configuration and lacks certain restrictive… vulnerability
  • CVE-2026-70600 Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. vulnerability
  • CVE-2026-70608 Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. vulnerability
  • CVE-2026-70486 Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. vulnerability
Show all 431 ›

Referenced by OWASP · mapped cwe (2)