Tracking Bitwarden firefox addon users
Bitwarden's Firefox extension uses a per-user UUID in its moz-extension URL, and the password-save prompt loads a local resource from that URL. Any JavaScript on the page can read the UUID, letting third parties track users across sites and browsing modes.
- Fixed in 11 hours
- Disclosed after 40 days
Firefox web extension, generate a UUID for each web-extension and is specific to a user. Unlike chrome extensions. Which means whenever the user installs Bitwarden on Firefox, it generates a different extension ID for each user. You can check the extension ID by about:debugging -> under extensions.
The problem occurs when Bitwarden prompts the user with the message:
Should Bitwarden remember this password for you?. [Screenshot attached]
This prompt is loaded as a local resource from moz-extension://UUID/bar.html?add=1, and this can be easily read by the website and any Javascript running on that page.
Impact
Now, because this is UUID is unique to each user, it is a potential userID which can be used for tracking a user:
- That a user is a Bitwarden user.
- Multiple accounts used by the user across normal windows, private windows, containers.
- Because this ID can also be read by a third-party javascript on the page: A.com/login.html has a third-party T.com B.com/login.html has a third-party T.com Now because T.com can also read the UUID for Bitwarden, T.com can on their backend track that it's the same user visiting A.com and B.com. It will not matter whether the user has third-party cookies disabled or not, or is using some tracking protection. Hence, Bitwarden infects the browser ecosystem and breaks the privacy protections / private browsing mode.
This ID is accessible and remains same irrespective of :
- Private mode -Normal mode
- After browser restart
- Extension update.
- Clearing History / Local storage
The only way to remove this UUID is by deleting and re-installing the extension.
I am happy to help you with more concrete examples if needed. As a demo:
- Firefox with Bitwarden extension installed.
- Visit the page: https://cdn.cliqz.com/browser-f/fun-demo/tracking-bw-users.html
This is a known issue with Firefox webextensions you can find the details here: https://bugzilla.mozilla.org/show_bug.cgi?id=1372288
As far as I can see, this needs to fixed at the extension level and not at Firefox level.
Please note, as of now I have only tested the resource loaded from this prompt. But this would be a problem anywhere the resource being loaded which is using the same pattern.
Attachments

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
Impact
A third-party script present on multiple sites could read the UUID and track the same user across sites and browsing modes, even with third-party cookies disabled or tracking protection enabled.
What the attacker needed
Firefox with Bitwarden extension installed; Victim visits a page with third-party script
The fix
The extension should avoid loading resources in a way that exposes the moz-extension UUID to page scripts.
How it was found
- Install the Bitwarden extension in Firefox.
- Visit the demo page that demonstrates the tracking.
- Observe that the page can read the extension UUID.
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.
Firefox gives each installed extension a unique address that includes a random ID. Bitwarden shows a 'save password?' popup by loading a page from that address, and the website can see that address. Because the ID never changes, websites can use it to recognise the same person across different sites and even in private windows.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.