cve.bz

CAPEC-587

Cross Frame Scripting (XFS)

High severityDetailed pattern

This attack pattern combines malicious Javascript and a legitimate webpage loaded into a concealed iframe. The malicious Javascript is then able to interact with a legitimate webpage in a manner that is unknown to the user. This attack usually leverages some element of social engineering in that an attacker must convinces a user to visit a web page that the attacker controls.

On this page

Ask an AI about this attack pattern

Show the promptExplain the attack pattern CAPEC-587: Cross Frame Scripting (XFS): how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/587.html and https://cve.bz/cve/capec/587?via=ask-ai-copy, which lists recent CVEs with the weaknesses it exploits. Cite the sources.

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

Prerequisites

  • The user's browser must have vulnerabilities in its implementation of the same-origin policy. It allows certain data in a loaded page to originate from different servers/domains.

Consequences

What a successful attack can lead to
ImpactAffectsNote
Read DataConfidentialityCross Frame Scripting allows an adversary to steal sensitive data from a legitimate site.

Mitigations

  • Avoid clicking on untrusted links.

  • Employ techniques such as frame busting, which is a method by which developers aim to prevent their site being loaded within a frame.

Weaknesses it exploits

  • CWE-1021 Improper Restriction of Rendered UI Layers or Frames

Recent CVEs with these weaknesses

  1. 2.3CVE-2026-134450

    Dockhand before 1.0.57 contains a clickjacking vulnerability because src/hooks.server.ts never sets X-Frame-Options or CSP frame-ancestors headers on responses. Attackers on a same-site origin can embed the UI in an invisible iframe to tri…

  2. 7.7CVE-2026-122244

    Budibase is an open-source low-code platform. Prior to 3.50.0, a BASIC application user, or an unauthenticated visitor to a public write form, can store markup in a shared external datasource that a builder or administrator later evaluates…

  3. 8.7CVE-2026-73967

    AnsibleForms is a self-hosted web application that turns automation into self-service forms. Prior to 6.2.1, AnsibleForms stores attacker-influenceable job output that server/src/lib/common.js processes through formatOutput without HTML es…

  4. 3.1CVE-2026-111518

    Dell Alienware Command Center (AWCC), versions prior to 6.14.105.0, contain an Improper Restriction of Rendered UI Layers or Frames vulnerability. A high privileged attacker with remote access could potentially exploit this vulnerability, …

  5. 5.4CVE-2026-131085

    Clickjacking in PermissionElement in Google Chrome prior to 158.0.8127.36 allowed a remote attacker leveraging social engineering to spoof UI elements via a crafted HTML page. (Chromium security severity: Low)

  6. 5.1CVE-2026-105625

    The web interface in Zenitel Connect before 1.11.0 loads an integration iframe without sandboxing or origin restrictions, which allows remote attackers to present phishing content to authenticated users via a crafted frame source.

  7. 8.6CVE-2026-102236

    Improper restriction of rendered ui layers or frames in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.

  8. 2.5CVE-2026-18194

    IBM App Connect Enterprise 13.0.1.0 through 13.0.8.2 could allow a remote attacker to perform unauthorized actions due to missing anti-clickjacking controls.

The newest records naming one of them. Each weakness's page lists them all.

Part of

Examples

An adversary-controlled webpage contains malicious Javascript and a concealed iframe containing a legitimate …

An adversary-controlled webpage contains malicious Javascript and a concealed iframe containing a legitimate website login (i.e., the concealed iframe would make it appear as though the actual legitimate website was loaded). When the user interacts with the legitimate website in the iframe, the malicious Javascript collects that sensitive information.

MITRE's words, unchanged: CAPEC-587 at MITRE. CAPEC is Copyright © 2007–2026, The MITRE Corporation, used under the CAPEC terms of use: “The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use Common Attack Pattern Enumeration and Classification (CAPEC™) for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE’s copyright designation and this license in any such copy.” CAPEC and the CAPEC logo are trademarks of The MITRE Corporation. Credits. All attack patterns.