I'm requesting a TAG review of requiring embedees to opt-into (rather than -out of) being embedded in cross-origin documents.
Documents can embed anything they like via <frame>, <iframe>, etc., exposing those embedded resources to a number of attacks, ranging from the well-known risks of clickjacking to the less-understood side-channel risks of XSLeaks and Spectre. Developers can mitigate these risks by choosing to limit the ways in which particular resources can be embedded. The X-Frame-Options header and CSP's more-granular frame-ancestors directive both provide developers with a measure of defense, but developers must choose to use them.
We should change the web's defaults such that an explicit declaration is necessary to enable cross-origin embedding a given document. That is, we'd treat the absence of an explicit X-Frame-Options or frame-ancestors declaration as having more or less the same behavior as X-Frame-Options: SAMEORIGIN.
Security and Privacy self-review²: This is a strict reduction in the ability to embed documents, with direct (positive) effect on attackers' ability to exploit side-channels to gain access to other origins' data.
OpenedNov 25, 2020
Guten TAG!
I'm requesting a TAG review of requiring embedees to opt-into (rather than -out of) being embedded in cross-origin documents.
Documents can embed anything they like via
<frame>
,<iframe>
, etc., exposing those embedded resources to a number of attacks, ranging from the well-known risks of clickjacking to the less-understood side-channel risks of XSLeaks and Spectre. Developers can mitigate these risks by choosing to limit the ways in which particular resources can be embedded. TheX-Frame-Options
header and CSP's more-granularframe-ancestors
directive both provide developers with a measure of defense, but developers must choose to use them.We should change the web's defaults such that an explicit declaration is necessary to enable cross-origin embedding a given document. That is, we'd treat the absence of an explicit
X-Frame-Options
orframe-ancestors
declaration as having more or less the same behavior asX-Frame-Options: SAMEORIGIN
.Further details:
We'd prefer the TAG provide feedback as leave review feedback as a comment in this issue and @-notify @mikewest.
Thanks for your work!