# GHSA-VM75-MQ6X-X57M: SVG uploads permitted on a write path the sanitizer does not cover

- Database: GitHub
- Severity: CVSS 4.4 (Medium)
- Published: 2026-10-27
- Modified: 2026-10-27

## Affected versions

- 10up/safe-svg (Packagist): through 2.5.1

## 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.

## References

- https://github.com/10up/safe-svg/security/advisories/GHSA-vm75-mq6x-x57m

Page: https://cve.now/GHSA-VM75-MQ6X-X57M

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
