Incorrect authorization in Extensions (CVE-2026-78954)
Extension permission checks did not verify whether the last committed navigation was an error document, so an error page such as a CSP error could still grant an extension access to a page. An attacker able to control or influence an error document could therefore impersonate an extension content script towards externally_connectable targets and bypass externally_connectable matching.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 27 days
Context:
- Error-document renderer can impersonate an extension content script to externally_connectable targets [535876894] - Visible to listed users
- Bypass of externally_connectable matching via subframe error page in compromised renderer [516813317] - Visible to listed users - Chromium
These two vulns have the same cause. They weren't checking if the last committed navigation was an error document for the purposes of granting a permission, so something like a CSP error wouldn't prevent an extension being granted access to the page. There are other instances of this happening in other places that we should clean up.
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
An attacker could impersonate an extension content script to externally_connectable targets and bypass externally_connectable matching, though the text notes the issue was only visible to listed users and does not describe a full exploit chain.
What the attacker needed
Compromised renderer; crafted error document
The fix
The check should be fixed so that error documents are never treated as a valid navigation for granting extension permissions, and the text notes other similar instances should be cleaned up.
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.
Browser extensions can ask to talk to specific websites, and the browser is meant to check the page really is that site before allowing it. Here the check looked at the wrong thing: it did not notice that the page being shown was an error page rather than the real site. That let a crafted error page be treated as if it were the trusted site, so the extension's privileges were handed out where they should not have been.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.