Docs / Simple SVG Uploader

    How to allow safe SVG uploads in the WordPress media library

    Simple SVG Uploader enables SVG media uploads with basic sanitization to strip scripts and dangerous content — ideal for icons and brand marks.

    Updated 2026-09-29

    Why WordPress blocks SVG by default

    SVG can embed JavaScript and other active content. Core WordPress therefore disallows SVG uploads for safety. Designers still need SVG for crisp logos and icons.

    What Simple SVG Uploader provides

    It allows SVG in the media library and applies minimal sanitization aimed at stripping scripts and common dangerous patterns. Treat it as “safer uploads,” not a formal security audit of every SVG.

    • Enable SVG in Media Library
    • Basic sanitization on upload
    • Keeps icon/logo workflows fast
    • No need to convert every asset to PNG

    Operational tips

    Only trust SVG from your designers or known sources. Prefer icons without embedded fonts or foreignObject complexity. For untrusted user-generated SVG, do not rely on a lite sanitizer alone.

    FAQ

    View Simple SVG Uploader →