Skip to content
UI spoofing Disclosed report Intermediate

Firefox for Android Missing Fullscreen Notification on Custom Tabs

Firefox for Android enters fullscreen mode when a page calls the fullscreen API inside a Custom Tab, without showing the usual fullscreen notification. Because the user is not told the page is fullscreen, an attacker could spoof the address bar UI.

Irvan Kurniawan Follow

Originally disclosed on Mozilla

  • Fixed in 23 months
  • Paid in 23 months
  • Disclosed after 23 months

After website is opened on Firefox's custom tabs, then page request fullscreen with Element.requestFullScreen(), the browser goes fullscreen without any fullscreen notification, as user unaware the page is displayed fullscreen it can lead to address bar UI spoofing.

As far I know Firefox will open the page on custom tabs in the following case:

Tested on:

  • Firefox Nightly 91.0a1 (Build #2015818827)
  • Firefox Beta 90.0.0-beta.6 (Build #2015818371)

Steps to Reproduce:

  1. Open Firefox on Android
  2. Go to https://www.twitter.com
  3. Tap menu
  4. Tap "Install App"
  5. On Android launcher home screen
  6. Tap "Twitter"
  7. Tap "Search Twitter" on Twitter search bar
  8. Type "https://permission.site" then enter
  9. Tap on https://permission.site link
  10. On permission.site
  11. Scroll down and tap "Fullscreen" button
  12. Browser goes fullscreen without any fullscreen notification

The original report as published on Mozilla's Bugzilla, by Irvan Kurniawan. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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 notification is not triggered for pages loaded inside Android Custom Tabs, so the fullscreen transition happens silently.

Impact

A page shown in a Custom Tab could enter fullscreen silently and spoof the address bar UI, misleading the user about which site they are on.

What the attacker needed

Firefox on Android; page opened in a Custom Tab; victim taps a fullscreen control

How it was found

  1. Open Firefox on Android and install the Twitter PWA from the site menu.
  2. Launch the installed Twitter app from the Android home screen.
  3. Use the Twitter search bar to navigate to permission.site and open the link.
  4. On permission.site, scroll down and tap the Fullscreen button.
  5. The browser goes fullscreen with no fullscreen notification shown.

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 web page goes fullscreen, browsers normally show a small notice so you know the page is now covering the whole screen. Here, Firefox on Android skipped that notice inside a special in-app browser window called a Custom Tab. Without the notice, a page could draw fake browser controls and trick someone into thinking they are still on a trusted site.

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.

More by Irvan Kurniawan

View all

72 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

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.