Important: #94492 - Introduce SVG Sanitizer¶
SVG sanitization behavior of extension t3g/svg-sanitizer has been introduced into TYPO3 core. Actual processing is done by low-level sanitization package enshrined/svg-sanitize by Daryll Doyle.
handle FAL action events
provide upgrade wizard, sanitizing all SVG files in storages that are using
$sanitizer = new \TYPO3\CMS\Core\Resource\Security\SvgSanitizer(); $sanitizer->sanitizeFile($sourcePath, $targetPath); $svg = $sanitizer->sanitizeContent($svg);
Basically this change enforces following public service announcements concerning SVG files, to enhance these security aspects per default: