SVG uploads permitted on a write path the sanitizer does not cover
Description
Safe SVG sanitizes SVGs during a normal WordPress upload flow. This means if a plugin allows media uploads that bypass this flow, the filters Safe SVG uses are not fired and the SVG is allowed but never sanitized.
This is fixed in Safe SVG v2.5.2 by ensuring SVGs are sanitized both when they are uploaded and when they are moved to the uploads directory.