[filter-effects-1] Document Clickjacking Attacks#13846
Open
arichiv wants to merge 3 commits into
Open
Conversation
This formalizes the proposal here: https://chromestatus.com/feature/5117170452398080
progers
reviewed
May 5, 2026
progers
reviewed
May 5, 2026
tabatkins
reviewed
May 6, 2026
Member
Author
|
Chrome is currently discussing whether all iframes, or just iframes that are cross-origin with their parent, should have the SVG filter un-applied. Soliciting feedback on that here. |
|
From a security perspective, same-origin frames allowing filters would be on-par with how the rest of the restrictions with frames work. The concerns would probably be additional complexity in the case of nested frames, and confusing behavior where filters work on one frame but not another. I personally like the idea of still being able to use filters on my own frames :). |
Member
|
Yeah, there's no good reason to disallow filters on same-origin iframes. A same-origin iframe is not remotely a security boundary. |
Expanded explanation on the risks of applying SVG filters to cross-origin iframes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This formalizes the proposal here: https://chromestatus.com/feature/5117170452398080