Object lifecycle issue in Input (CVE-2026-14096)
A logic flaw in the Android implementation of select popups allows a dialog to remain visible after its internal reference is cleared, creating a 'zombie' dialog. A compromised renderer could exploit this to intercept user selections from another origin or crash the browser process.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 48 days
Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports without the Chrome Security team. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: A logic flaw in the Android implementation of <select> popups allows UI dialogs to remain active after their internal references are cleared in the browser process. This creates 'zombie' dialogs that can be exploited by a compromised renderer to intercept user selections from other origins or trigger a browser process crash.
Affected files:
content/public/android/java/src/org/chromium/content/browser/input/SelectPopup.javacontent/browser/android/select_popup.cccontent/public/android/java/src/org/chromium/content/browser/input/SelectPopupDialog.java
Estimated timestamp from git blame: 2018-03-02
Analysis
In the Android implementation of selection popups, a logic error in content/public/android/java/src/org/chromium/content/browser/input/SelectPopup.java allows UI components to become 'orphaned' from their controlling logic. Specifically, the close() method, which is triggered during window-level changes (such as dragging a tab to a new window in multi-window mode), clears the internal reference to the popup UI without actually dismissing it:
// content/public/android/java/src/org/chromium/content/browser/input/SelectPopup.java
public void close() {
mPopupView = null; // Logic flaw: The UI remains visible and interactive
}
When a dialog is orphaned in this manner, it remains interactive on the screen. Because mPopupView is now null, subsequent cleanup attempts via hideWithoutCancel() fail due to an early return:
public void hideWithoutCancel() {
if (mPopupView == null) return; // Cleanup is bypassed for zombie dialogs
mPopupView.hide(false);
mPopupView = null;
mNativeSelectPopupSourceFrame = 0;
}
This leaves the system in an inconsistent state where a visible 'zombie' dialog is still associated with the mNativeSelectPopupSourceFrame (a raw pointer used to identify the target renderer client).
Potential Security Impact
An attacker who has compromised a renderer process (e.g., via a separate V8 vulnerability) can exploit this state inconsistency in a cross-origin iframe within the same tab:
- Cross-Origin Information Leak: The attacker triggers their own
<select>menu in an OOPIF. This updates the sharedmNativeSelectPopupSourceFrameto point to the attacker's renderer. If the user then interacts with the victim's zombie dialog (which may still be visible in another window or underlying UI layer), the selection indices are dispatched to the attacker's renderer. This allows an attacker to intercept user selections from a different origin. - Browser Process Denial of Service (DoS): If an attacker triggers a popup and then immediately disconnects their client (e.g., via navigation), the native
popup_client_remote is reset. If the user subsequently interacts with a zombie dialog, the nativeSelectMenuItemsfunction may attempt to call methods on the unbound Mojo remote, potentially leading to a browser process crash.
Suggested Reproduction Steps
Note: These steps are based on code analysis and have not been verified with a functional exploit.
- Navigate to a page (the victim) containing a
<select>menu and an embedded cross-origin iframe (the attacker). - Open the
<select>menu on the victim page. - Trigger
SelectPopup.close()by moving the tab to a new window using Android's multi-window dragging feature. - Confirm that the selection menu remains visible despite the window transition.
- From the attacker iframe, trigger a new selection popup or navigate the iframe to reset the popup client.
- Interact with the original victim selection menu.
- Observe whether selection data is leaked to the attacker's context or if the browser process terminates unexpectedly.
Suggested Fix
Ensure that SelectPopup.close() explicitly dismisses the UI before clearing the reference. The cleanup logic should be consolidated to ensure that mNativeSelectPopupSourceFrame is always reset when a popup is dismissed or closed:
public void close() {
if (mPopupView != null) {
mPopupView.hide(false);
mPopupView = null;
}
mNativeSelectPopupSourceFrame = 0;
}
Evaluated with Chrome root at commit: b3153093eb3c78c3e88ccf562bcbc20437a04b0e
Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:
- If you are familiar with the severity guidelines, you may adjust the severity.
- If this is a false positive, and there's no work to be done, please close as WAI.
- If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.
Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The close() method clears the popup view reference without dismissing the UI, and subsequent cleanup is skipped because the reference is null.
Impact
A compromised renderer could intercept user selections from another origin or crash the browser process, though the report notes the steps are based on code analysis and have not been verified with a functional exploit.
What the attacker needed
Compromised renderer process; user interacts with zombie dialog; Android multi-window mode
The fix
The close() method should explicitly dismiss the UI before clearing the reference and always reset the native source frame pointer.
How it was found
- Navigate to a page with a select menu and an embedded cross-origin iframe.
- Open the select menu on the victim page.
- Trigger SelectPopup.close() by moving the tab to a new window using Android's multi-window dragging feature.
- Confirm that the selection menu remains visible despite the window transition.
- From the attacker iframe, trigger a new selection popup or navigate the iframe to reset the popup client.
- Interact with the original victim selection menu and observe whether selection data is leaked or the browser process terminates.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A select popup is the menu that appears when you tap a dropdown on a web page. The code that closes this menu had a bug: it forgot to actually hide the menu, leaving it on screen but disconnected from the browser's control. If an attacker already controls part of the browser, they might use this leftover menu to steal what you pick or crash the browser.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.