Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

body /deep/ span reveals cleartext #7

Open
timoxley opened this issue Nov 23, 2014 · 5 comments
Open

body /deep/ span reveals cleartext #7

timoxley opened this issue Nov 23, 2014 · 5 comments

Comments

@timoxley
Copy link

The /deep/ combinator can cross the shadow boundary, allowing a host script read/write access the same cleartext DOM presented to the user.

A parent application can easily get all ShadowCrypt cleartext on a page:

[].slice.call(document.querySelectorAll('body /deep/ span'))
.map(function(el) {
  return el.innerText
}).join('\n')

Not sure there's a way around it at this point.

@timoxley timoxley changed the title body /deep/ span reveals cyphertext body /deep/ span reveals cleartext Nov 23, 2014
@wh0
Copy link
Member

wh0 commented Nov 24, 2014

confirmed. thanks for reporting.

@wh0
Copy link
Member

wh0 commented Nov 24, 2014

http://dev.w3.org/csswg/css-scoping/ for my own reference

@koto
Copy link

koto commented Feb 4, 2015

Any update on this? With the cleartext availability your extension offers nothing more than a snakeoil.

@wh0
Copy link
Member

wh0 commented Feb 4, 2015

df741a0

@dzfranklin
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants