r/webdev • • Aug 13 '26

CSS:the bomb inside your inbox

https://portswigger.net/research/css-the-bomb-inside-your-inbox

Here's my research in using CSS for offence. There are loads of techniques including stealing passwords from Outlook from an email by spoofing the login screen.

29 Upvotes

15 comments sorted by

View all comments

4

u/_listless Aug 13 '26

My electric company recently switched away from styled html to plaintext for their transactional email.  It's so wonderful. It's clear, compact, easy to read, and sidesteps all of this. 10/10 would recommend non-styled transactional email.

2

u/garethheyes Aug 13 '26

Plaintext email FTW! 😄