Skip to content
UI spoofing Disclosed report Intermediate CVE-2026-16397

Tapjacking to Install Extension through toast

A tapjacking weakness in Firefox for Android allowed a malicious app to trick the user into installing a browser extension. An attacker could overlay a toast to obscure the real screen and cause taps to land on the extension install prompt.

Hafiizh Follow

Originally disclosed on Mozilla

  • Fixed in 16 days
  • Paid in 3 months
  • Disclosed after 16 days
Text
Created attachment 9597416
firefox_extension.mp4

After fixing https://bugzilla.mozilla.org/show_bug.cgi?id=2040834, this can be bypassed by using a toast.

Steps to reproduce:

1. Install the PoC application (find the source code here) (https://drive.google.com/file/d/1eeLjP9nKynsM4Z0f3rh5ownI0uvO0X7x/view?usp=sharing)
2. Tap the white box
3. Tap the circle (you can also skip this step, or you can do it in step 2 after tapping the white box, then tap the bottom right corner)
4. Install the extension https://addons.mozilla.org/en-US/android/addon/adguard-adblocker/
OS: Android 16
Device: Samsung S25 Edge

The original report as published on Mozilla's Bugzilla, by Hafiizh. 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

What the attacker needed

Malicious app installed; victim taps the attacker's overlay; Android device

How it was found

  1. Install the proof-of-concept app on the device
  2. Tap the white box shown by the app
  3. Optionally tap the circle, or tap the bottom right corner after the white box
  4. The extension installs from the add-ons site

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.

Tapjacking is when a malicious app draws something on top of another app's screen so your taps go somewhere you did not intend. Here the attacker used a small pop-up message (a toast) to hide what was really underneath, so tapping a harmless-looking box actually confirmed installing an extension.

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 Hafiizh

View all

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