requestFullscreen without fullscreen notification toast with unresponsive script and navigate to another website
A page could enter fullscreen mode and then navigate to another site while a blocking script kept the main thread busy, so the browser stayed fullscreen on the new site without showing the fullscreen notification toast. An attacker could use this to make a different website appear fullscreen without the usual warning to the user.
Originally disclosed on Mozilla
- Fixed in 3 months
- Paid in 3 months
- Disclosed after 3 months
Created attachment 9298016 testcase.bundle.html
When invoke requestFullscreen then run unresponsive script that blocking the main thread or freeze the page then simultaneously navigate to another website, interestingly the browser goes fullscreen without fullscreen notification toast on another website.
When in the fullscreen mode the page is still responsive and interactable as usual, the browser will stays in full screen mode as long as the unresponsive script is running in the background, when unresponsive script is over the browser will exit the full screen mode.
Tested on:
- Firefox 105.0.3 (64-bit) on Arch Linux
- Firefox 105.0.3 (64-bit) on Windows 11
- Firefox Nightly 107.0a1 (2022-10-11) (64-bit) on Arch Linux
- Firefox Nightly 107.0a1 (2022-10-11) (64-bit) on Windows 11
Steps to reproduce:
- Visit attached testcase.bundle.html
- Click "Launch"
- Click anywhere on the page
- Browser goes fullscreen without fullscreen notification toast
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
Likely the fullscreen state and its notification are tied to the original document, and a navigation during a blocked main thread lets the new document inherit fullscreen without the toast being shown.
Impact
A site could put a different website into fullscreen without the notification toast, so the user may not realise which page controls the screen; the text does not claim any further harm.
What the attacker needed
Victim visits a crafted page; victim clicks Launch and then the page
How it was found
- Open the attached test case page.
- Click the Launch button.
- Click anywhere on the page.
- The browser enters fullscreen without the notification toast.
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.
When a website asks the browser to fill the whole screen, the browser normally shows a small notice so you know a site has taken over your display. This report shows a way to skip that notice: the page starts a long-running script that freezes the page, then jumps to a different website, and the browser stays fullscreen on the new site without the warning. That matters because the notice is a safety signal, and losing it makes it harder to tell which site controls your screen.
What is UI spoofing?
The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.