by arkadiyt · 3y ago · 0 comments
https://example.com"><script>alert(1)</script>
Then simply viewing the hackernews index page with this extension installed will let the submitter execute whatever javascript they want in your logged in hackernews context - no user interaction necessary.[1]: https://github.com/MostlyEmre/hn-anti-paywall/blob/main/scri...
GreasyFork build is also updated. I recommend anyone who installed the userscript (thanks!) to update.
still a good idea to patch though
b) for the auth, yeah, probably a good idea to patch
c) for HN, probably a good idea to sanitize those inputs!