Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The whole point is that SVG images are basically never loaded with the embed tag, which is the reason why this is innocuous.

Embed is basically like using iframe, so where one is blocked, the other one is too.

The author simply loaded the SVG via the image tag, which renders it inert.



True, I started optimistic seeding much potential in possibilities to extend HTML only to discover that embedded javascript only works when the SVG is the main URL target or wrapped in <object> or <iframe>. Sad actually.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: