DOM-based Extension Clickjacking #1463
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Problem
The post (DEF CON 33, Aug 9, 2025) introduces DOM-based Extension Clickjacking: coercing a user to click hidden, extension-injected autofill UI so sensitive data is filled into attacker-controlled forms. Unlike classic iframe-based extension clickjacking (via overly exposed
web_accessible_resources
), the DOM-based variant hides or occludes extension UI already injected into the page.How autofill UIs work (target surface)
Password managers inje...
🔧 Technical Details
DOM-based extension clickjacking (manual autofill): Focus an attacker-controlled input to trigger the manager’s dropdown, then hide/occlude the extension UI (set opacity on its root/child, lower BODY/HTML opacity with a screenshot background, or cover it with a Popover-based overlay using
pointer-events:none
). Align the hidden dropdown under a believable control so the victim’s click selects an item; read the filled values from your form and exfiltrate them.IFRAME-based extension clickjacking: If an extension exposes HTML UIs via
web_accessible_resources
, load them in a transparent iframe (e.g.,<iframe src="chrome-extension://ID/file.html" style="opacity:0">
) and drive user clicks to perform privileged actions. Mitigate by scopingmatches
(MV3) and addingframe-ancestors
/X-Frame-Options
to any unavoidable HTML resources.Autofill domain-expansion abuse: Many manager...
🤖 Agent Actions
I analyzed the repository and found the most relevant existing locations for this topic:
What I updated
Why this placement
Research and style
No new files were necessary.
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.
📚 Repository Maintenance
All .md files have been checked for proper formatting (headers, includes, etc.).