# GHSA-XJVQ-4JWJ-3MWQ: Attachments typed as SVG over XML-RPC skip sanitization and the role setting, leading to gzip bombs

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

## Affected versions

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

## Description

The plugin trusts an attachment's `post_mime_type`, which XML-RPC's `metaWeblog.newMediaObject` lets the caller set to `image/svg+xml` on arbitrary bytes. Then at render time, those bytes are gunzip with no size limit.

This has been resolved in Safe SVG v2.5.2 by checking both the MIME type and the file extension.

## References

- https://github.com/10up/safe-svg/security/advisories/GHSA-xjvq-4jwj-3mwq

Page: https://cve.now/GHSA-XJVQ-4JWJ-3MWQ

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