What is the SVG Security Scanner?
An SVG can hold code. A file that looks like a harmless picture can run JavaScript when it is opened, which is a known way to attack websites that accept uploads. Paste your SVG to see what is inside.
The scanner looks for script tags, on... event handlers, javascript: links, foreignObject, outside files, harmful animations and XML tricks. You get a verdict in plain words, a list of each finding, and a cleaned copy with the dangerous parts removed. For a website, also clean files again on your server.
How to use it
- Paste your SVG code, or open an .svg file.
- Read the verdict and the list of findings.
- Copy or save the cleaned SVG.
Why people like this tool
Plain verdict
Safe or not safe, in simple words.
Every finding
Scripts, links, events and more.
Cleaned copy
Dangerous parts are removed.
Private
Your file never leaves your device.