Menu

Vimium injected a subframe message into the top-level page
📰

Vimium injected a subframe message into the top-level page

DEV Community: cybersecurity·yutianle·14 days ago
#UsimOr0y
#devtocybersecurity#devto#dev#frame#extension
Long article (629 words) — no AI summary yet.
Reading 0:00
15s threshold

Vimium injected a subframe message into the top-level page

Browser extensions are often judged by their visible features rather than by the messages their privileged background pages accept. Vimium adds keyboard navigation to Chrome, and its background script accepts requests from content scripts running in frames. Advisory GHSA-vx62-cvr5-x3p4 found that one request handler ignored the frame that sent it.

The affected versions are Vimium 2.4.2 and earlier in the Manifest V3 build. Version 2.4.3 fixes the issue. The advisory rates it moderate because the flaw does not create the first compromise. It turns an existing script-execution problem in a low-privilege frame into script execution in the top-level origin.

Missing frameId changed the target

The background function openUrlInCurrentTab accepts a URL and can call chrome.scripting.executeScript for javascript: URLs. The function supplied a tab ID but omitted frameId .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.