Question: is svg safe to use?
Answer: No, there is no security risk in creating and using your own SVG files. The risk would come from allowing untrusted users to upload files. If you make your SVG file yourself, and you put no malicious scripts in it, then feel free to use it.