Remix.run Logo
CSS: The bomb inside your inbox(portswigger.net)
42 points by ashurandi 3 hours ago | 11 comments
PoignardAzur 2 hours ago | parent | next [-]

Reading the article, I kept thinking: "could you defeat this with an iframe?", and indeed:

> One of the best methods to protect against these attacks is strict isolation. If you isolate the email message using sandboxed iframes you restrict the ability to break out of trusted boundaries. If you are not using sandboxed iframes, always be careful when allowing custom attributes and check for HTML/CSS gadgets. Use a strict allow list of characters when validating keywords and names to avoid mutation when using the CSSOM.

iframes should be the first layer of any defense-in-depth against user-submitted content.

Waterluvian an hour ago | parent | prev | next [-]

This website was pretty nasty to my browser history and pretty much kidnapped my tab on mobile safari.

branon 39 minutes ago | parent | prev | next [-]

One thing I've found that purports to address (some of) these risks: https://mail.cock.li/cock-mail/

Haven't tried it yet though, done some reading but don't know enough to be sure their proposed paradigm is valid.

Bender an hour ago | parent | prev | next [-]

I view email in Thunderbird and have uBlock installed. Sadly the CSS Exfil addon for Firefox does not exist for Thunderbird but I view emails in plain text either way. I suppose I "miss out" on backgrounds, themes, animated GIFs. For me personally plain text is the way to go. Am I the only one using an email client these days? I prefer the client so I can keep my emails off the server and manage my own backups.

ashurandi 2 hours ago | parent | prev | next [-]

Would a hard isolation model for HTML email be a better long-term solution, or is that impractical for reasons I’m missing?

desro 2 hours ago | parent | prev | next [-]

Allowing anything other than plain text in email bodies was a terrible mistake.

pluc 2 hours ago | parent | prev | next [-]

> This page requires JavaScript for an enhanced user experience.

Yeah no shit.

thunderbong 2 hours ago | parent [-]

You're certainly welcome to browse the internet without JavaScript.

But when most of the articles submitted here don't work without JavaScript, this comment seems really irrelevant.

appplication 20 minutes ago | parent [-]

I do not understand the anti-JavaScript folks here. This is a forum that celebrates all sorts of automation, but now when a website wants to run automations that is agitating?

I guess my question would be why does something so benign and common aggravate you so much? That feels like an exhausting way to live.

javascripthater 16 minutes ago | parent [-]

fuck you

fragmede 2 hours ago | parent | prev [-]

> In this section I targeted Fastmail, ProtonMail, Gmail, Cowork and Slack.

Oh that's all, is it?