51 points · by mooreds · 4y ago · 28 comments
Without html injection just think about what might be done to disrupt a site. Here on HN you could swap the comments and hide or flag links and make the site unusable. If it were on a page with a delete link or a close account link, you could trick someone into irrecoverable data loss.
Thinking only about key loggers is very narrow thinking.
[1] - https://thejh.net/misc/website-terminal-copy-paste
[2] - https://www.mike-gualtieri.com/css-exfil-vulnerability-teste...
[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/Privacy_and...
> The window.getComputedStyle method, and similar functions such as element.querySelector, will always return values indicating that a user has never visited any of the links on a page.