Discuss the CSS weakness/hack | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Discuss the CSS weakness/hack

Anyone know the specifics for how CSS is being used for hacking lately?

14th Apr 2019, 12:55 PM
Ginger Mae
Ginger Mae - avatar
7 Answers
+ 3
As far as i know css isnt used for hacking. Or even cant be used for hacking. The only thing i could imagine is that something is hidden with css and you could reveal it by chainging the css.
14th Apr 2019, 2:58 PM
Dragonxiv
Dragonxiv - avatar
+ 3
That sounds interesting. But as the article explaines some of it can be protected against by not allowing other code to be loaded in your website.
14th Apr 2019, 3:56 PM
Dragonxiv
Dragonxiv - avatar
+ 2
I read about a weakness with CSS in which information can be leached from users. I was hoping someone may be able to explain what exactly is the "hole" this is happening through. When I write code, I want my code to be secure as much as I can make it.
14th Apr 2019, 3:28 PM
Ginger Mae
Ginger Mae - avatar
+ 2
That sound like cross side scripting or something similar. Do you know where you read about this? Im a frontend developer and also like my frontend as secure as possible.
14th Apr 2019, 3:35 PM
Dragonxiv
Dragonxiv - avatar
+ 1
I read it recently from another source that did not state the earlier reference. Therefore, I found that this is an older topic than what I first assumed.
14th Apr 2019, 9:09 PM
Ginger Mae
Ginger Mae - avatar
0
Interesting. Looks like it can be prevented by just not using CSS attribute selectors or by implementing that (CSP) Content Security Policy. Anyway Ginger Mae , you said that it was "used for hacking lately" and that article was from the beginning of 2018. Are you sure that this is what you have been hearing about lately or is there possibly a newer CSS vulnerability?
14th Apr 2019, 5:40 PM
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘 - avatar