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

  2. 5.1CVE-2026-123529

    Vikunja before 2.7.1 contains a stored CSS injection vulnerability that allows authenticated users with project write access to inject arbitrary CSS via unsanitized table-cell data-background-color attributes. Attackers can store crafted t…

  3. 3.5CVE-2026-123850

    In JetBrains YouTrack before 2026.2.19422 cSS injection was possible in Mermaid diagrams via configuration directives

  4. 3.1CVE-2026-21834

    HCL AION is affected by a vulnerability where the Content-Security-Policy (CSP) security response header was missing from application responses. Without this header, the browser does not restrict the sources of scripts and other content, i…

  5. 5.3CVE-2026-123311

    In JetBrains IntelliJ IDEA before 2026.3, 2026.2.4 command execution via a hidden run control in the Markdown preview was possible

  6. 5.3CVE-2026-18159

    A vulnerability in OpenText OpenText Directory Services (OTDS) on Windows and Linux allows Clickjacking. This issue affects OpenText Directory Services (OTDS): from 10.5 through 26.2.

  7. 4.6CVE-2026-108536

    IBM Db2 Genius Hub 1.1.2, 1.1.3, 1.1.4, 1.1.5 could allow a remote authenticated attacker to bypass security restrictions due to improper restriction of rendered UI layers or frames.

  8. 5.1CVE-2026-108049

    Clickjacking vulnerability in the Alosuite web application. The affected login interface can be embedded in a web page controlled by an attacker because it does not implement adequate user interface protection mechanisms, such as the X-Fra…

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.