To enable SVG support, go to the Media Settings tab from the Dashboard.
By default, SVG support is disabled. Enable it by clicking the toggle for the appropriate user role. SVG support is reserved for the Administrator, Editor, and Author roles.
When done, click Save Changes.