this post was submitted on 19 Mar 2024
566 points (96.4% liked)
Fediverse
28519 readers
500 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Neat. Has anyone brought this up to the devs here or on github before?
I'm not sure, but anything doing Markdown parsing and allowing images to be embedded is vulnerable to this. I kind of doubt that the devs don't know about this.
The alternative would be to download every image on the server and cache it until users start requesting the image files, rewriting the Markdown to link to the new image location. I can think of a few reasons why that's not implemented.
Proxying all comments was implemented in the backend at some point, I'm not sure why this feature was removed again. I can't find much in the repo history, you could ask the devs why the feature got removed if you're curious.
you could safeguard against this on the client side by not loading images from untrusted sources. irc clients did this