However, we support these for users who upload SVG files in their installations in various elements (Icon, Icon Box, Counter). How can you upload an SVG file? You need to install and activate a plugin for this (e.g. https://wordpress.org/plugins/safe-svg/– https://wordpress.org/plugins/wp-add-mime-types/).
Themes must not enable SVG uploads as it raises security concerns due to the possibility of attackers executing malicious code through SVG’s XML. For more information on SVG uploads, refer to SVG uploads in WordPress article.