Allow some or all user roles to upload SVG files, which will then be sanitized to keep things secure.
- Click on Tools in the WordPress left side admin bar.
- Then select Enhancements.
- Click on Content Management.
- Locate the SVG Upload option and enable or disable the option.
- Click save changes.