It can only happen if you allow untrusted CSS on your website, which would then allow a third-party to get the password. You can do the same with JS as well. The way you avoid this shit is by avoiding people you don't know putting code that you haven't checked on your website.
Well, even if reddit would allow to do otherwise, it would not be a problem, because reddit accounts doesnt matter. If banks or other important places would do that, then it would be really bad for us, and those places would get fucked too, at least by me.
So, unless you can hack into other servers and put your malicious code on their websites, this is only a neat trick, because many places already know your password on their website, because it is stored as plain text.
reddit accounts do matter, hence there being a password in the first place.
it's shitty of you to say that you would steal money from me if you could.
It's not the people running the website stealing your password, it's a 3rd party that doesn't have access to the DB but can somehow inject css which is common.
0
u/shevegen Feb 21 '18
Wow - and here I thought CSS is much cooler than JavaScript.
Now I have to worry about keyloggers stealing even more information from people ... :(