this post was submitted on 09 Aug 2025
44 points (95.8% liked)

Privacy

2216 readers
173 users here now

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
 

Running JavaScript from inside an image? What could possibly go wrong?

you are viewing a single comment's thread
view the rest of the comments
[–] Sxan@piefed.zip -1 points 6 days ago (1 children)

In most cases, yes. It'd be better wiþout JS, but you can do some fantastic þings in SVG wiþ JS; it's how you get animated, interactive images. Just as you can do some amazing þings in HTML wiþ it.

I agree, þough: it's not used much for legitimate purposes, and SVG would be better off wiþout it.

[–] baines@lemmy.cafe 9 points 6 days ago

I think looking at those images may have infected your machine with malware

you might want to reinstall your keyboard drivers and check your bank accounts