Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-6608 Overview
CVE-2024-6608 is a security issue in Mozilla Firefox and Thunderbird that allows an embedded iframe to manipulate the mouse cursor through the Pointer Lock API. An attacker-controlled frame could move the cursor outside the browser viewport and even outside the Firefox window, breaking the security boundary that normally isolates pointer input to the current page. The flaw affects Firefox versions prior to 128 and Thunderbird versions prior to 128. The issue is categorized under [CWE-noinfo] and requires user interaction to trigger. Exploitation supports user interface (UI) spoofing and clickjacking scenarios rather than direct code execution.
Critical Impact
A malicious iframe can move the mouse cursor beyond the viewport and Firefox window, enabling UI spoofing and clickjacking against users who interact with untrusted content.
Affected Products
- Mozilla Firefox versions prior to 128
- Mozilla Thunderbird versions prior to 128
- Any downstream products embedding vulnerable Gecko/Firefox builds
Discovery Timeline
- 2024-07-09 - CVE-2024-6608 published to the National Vulnerability Database (NVD)
- 2026-06-17 - Last updated in the NVD database
Technical Details for CVE-2024-6608
Vulnerability Analysis
The vulnerability resides in Firefox's implementation of the Pointer Lock API when invoked from within an iframe. Pointer Lock allows a document to capture raw mouse movement input, typically for games or 3D applications. Browsers are expected to restrict cursor motion to the viewport of the requesting document.
In affected versions, an iframe could successfully request pointer lock and then translate cursor movement beyond its own bounds. The cursor could leave the containing page, the browser chrome, and the Firefox window entirely. This breaks the visual containment users rely on to distinguish between web content and the operating system UI.
The issue enables UI redressing attacks. An attacker can steer the cursor toward operating system dialogs, security prompts, or other windows and combine cursor manipulation with rendered decoys to trick users into clicking sensitive controls. Impact is limited to availability of the pointer boundary and user experience integrity; no confidentiality or integrity loss occurs directly.
Root Cause
The root cause is insufficient enforcement of the cursor confinement policy when Pointer Lock is granted to a nested browsing context. The renderer failed to constrain pointer delta accumulation to the requesting iframe's viewport region. See Mozilla Bug Report #1743329 for the underlying engineering discussion.
Attack Vector
Exploitation requires a user to visit a page containing a malicious or attacker-controlled iframe and to interact with it, since Pointer Lock requests are gated by a user gesture. Once the lock is granted, the embedded document issues cursor movement events through the Pointer Lock API to drive the cursor outside the frame. The attacker then relies on rendered overlays or timed prompts to induce unintended clicks. The vulnerability is exploitable over the network via any hostile web page loaded in an unpatched Firefox or Thunderbird client.
No verified proof-of-concept code is published. Refer to the Mozilla Security Advisory MFSA-2024-29 and Mozilla Security Advisory MFSA-2024-32 for vendor technical detail.
Detection Methods for CVE-2024-6608
Indicators of Compromise
- Firefox or Thunderbird client versions below 128 observed in endpoint inventory or user-agent telemetry.
- Web pages loading third-party iframe content that invokes Element.requestPointerLock() shortly after user interaction.
- User reports of the cursor jumping outside the browser window or clicking unintended OS-level dialogs.
Detection Strategies
- Inventory browser versions across managed endpoints and flag any Firefox or Thunderbird installation older than 128.
- Inspect web proxy or DNS logs for user visits to sites known to embed untrusted advertising or third-party iframe widgets.
- Correlate user-reported UI anomalies with browser process telemetry to identify sessions that requested Pointer Lock from nested frames.
Monitoring Recommendations
- Track Mozilla security advisory feeds (MFSA-2024-29, MFSA-2024-32) for related follow-up issues.
- Monitor endpoint software inventory feeds for the presence of unpatched Firefox and Thunderbird versions.
- Enable browser telemetry that records Pointer Lock API usage when available for enterprise deployments.
How to Mitigate CVE-2024-6608
Immediate Actions Required
- Upgrade Mozilla Firefox to version 128 or later on all managed endpoints.
- Upgrade Mozilla Thunderbird to version 128 or later where the client is deployed.
- Notify users to accept pending browser updates and restart the application to complete installation.
Patch Information
Mozilla resolved the issue in Firefox 128 and Thunderbird 128. Patch details and version metadata are published in Mozilla Security Advisory MFSA-2024-29 and Mozilla Security Advisory MFSA-2024-32. Enterprises using Firefox ESR should apply the corresponding ESR release that incorporates the fix.
Workarounds
- Deploy enterprise policy to disable the Pointer Lock API by setting full-screen-api.pointer-lock.enabled to false in about:config or through a policy file until patching completes.
- Restrict rendering of third-party iframe content using Content Security Policy frame-src directives on high-value web applications.
- Instruct users to avoid interacting with untrusted sites in vulnerable Firefox or Thunderbird builds until updates are applied.
# Configuration example: enforce Pointer Lock disablement via Firefox enterprise policy (policies.json)
{
"policies": {
"Preferences": {
"full-screen-api.pointer-lock.enabled": {
"Value": false,
"Status": "locked"
}
}
}
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

