Using bitwarden plugin causes a cross-origin error

I’m running into an issue when my bitwarden extension is enabled.

extension version 2024.10.1
brave browser 1.70.123

I don’t know if it’s relevant but I self-host my bitwarden server, and this is running on linux (up-to-date with all system updates). Also, this has been going on for a while, so I saw it in earlier versions of the extension, browser and OS.

When I go to one site (unfortunately a pretty important work-related site), my browser pops up an error window:

Failed to read a named property ‘document’ from ‘Window’:
Blocked a frame with origin “https://<WORK_URL>”
from accessing a cross-origin frame.

I have definitely narrowed down the problem to the bitwarden extension. If I disable the bitwarden extension, I am able to interact with the page as expected. Enable the extension, the page fails to work. Luckily, it’s not a big deal to temporarily disable the extension, but I’d like to find a long-term solution.

I’m not sure how to debug this, but if there’s additional information I can provide, let me know.

Try to disable “Ask to Save and Use Passkeys” under Settings > Notifications. If that doesn’t help, then try to set the “Show autofill menu on form fields” option to “Off” (under Settings > Autofill).

Thanks so much. The first option (disabling “Ask to Save and Use Passkeys”) fixed the issue!

Just a bit more info. After replying, I went and checked the “Show autofill menu on form fields” and it actually was set to Off already. I don’t recall setting that off ever, so maybe that is a default. Out of curiosity, I changed it to “When field is selected (on focus)”. The page still functioned correctly, so for me, it appears that the first option was the critical one.

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.