Script inside SVG?
Script inside SVG?
Posted Apr 16, 2025 19:16 UTC (Wed) by epa (subscriber, #39769)Parent article: Catanzaro: Dangerous arbitrary file read vulnerability in Yelp
allowing us to use a <script> tag in a <svg> tag to inject arbitrary scripts.Yikes, SVG can contain JavaScript? I'm sure this seemed like a good idea at the time and there might even, perhaps, be a legtimate use for it somewhere. But it seems like the kind of thing that should be disabled by default (in fact, I would say a help browser using HTML should have all JavaScript disabled). That would have blocked this exploit.
