The notification permission granted in normal browsing mode also applies to private browsing
In Firefox on Android, a notification permission decision made in normal browsing mode was also applied in private browsing mode. This could allow notifications to be shown in private sessions that should have been discarded or kept separate.
Originally disclosed on Mozilla
- Fixed in 3 months
- Paid in 11 months
- Disclosed after 3 months
Originated from bug report https://bugzilla.mozilla.org/show_bug.cgi?id=1784741
In Firefox on Android, the user's allow/deny selection in Normal Browsing Mode is carried over to Private Browsing Mode in Notification Permission. This vulnerability risks allowing the display of notifications that should not be displayed based on different sessions (e.g., past Private Browsing Mode sessions that should have been discarded or sessions in a different browsing mode).
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 notification permission state was stored per site rather than per browsing mode, so the private session read the normal session's decision.
Impact
A site could display notifications in private browsing mode based on a permission granted in normal mode, breaking the separation between the two sessions.
What the attacker needed
Firefox on Android; user grants notification permission in normal mode; user opens private browsing mode
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 you visit a website, the browser can ask whether you allow notifications. Private browsing is meant to keep that session separate and forget it afterwards. Here, a choice made in the normal browser was reused in the private session, so a site could show notifications in private mode even though you never agreed there.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.