Tangentially, I learned a few days ago that any attribute that can contain a URI will be executed as javascript if the URI uses the javascript: key
For a list, see https://stackoverflow.com/questions/2725156/complete-list-of...
For a list, see https://stackoverflow.com/questions/2725156/complete-list-of...
It can be blocked by CSP IIRC.
Of course SVG didn't become the Flash replacement everyone hoped for, so that knowledge seems to have become more obscure. The same probably happened to knowledge about javascript links after frameworks like react made event handlers the more convenient alternative.
At the time, this example even worked on my phone, will have to check if that's still the case.
Generally, SVG reminds of PDF with its feature creep (foreign entities?)... but I feel web browsers are beating SVG into becoming a sane vector graphics format without such shenanigans.