flawopen.com/XSS/SVG upload
Yes. SVG is an XML-based format that can contain embedded <script> tags and event-handler attributes — treating an SVG upload as "just an image" is a common and dangerous assumption.
Unlike a raster format like PNG or JPEG, SVG is text-based XML that browsers can execute script within, if the SVG is rendered inline (via <img> it's usually inert, but via <object>, <iframe>, direct navigation, or inline embedding it can execute). A malicious SVG file uploaded as a "profile picture" can carry a working XSS payload if the app ever serves or embeds it in a context that executes script.
No — a file can have a valid .svg extension and correct MIME type while still containing an embedded script; content validation/sanitization is required, not just type checking.