CVE-2022-109110up Safe Svg
Medium 6.1 No auth needed
Follow: this CVE · 10up · 10up Safe Svg We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 68
- Auth required
- No
- Published
- Apr 18, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
The sanitisation step of the Safe SVG WordPress plugin before 1.9.10 can be bypassed by spoofing the content-type in the POST request to upload a file. Exploiting this vulnerability, an attacker will be able to perform the kinds of attacks that this plugin should prevent (mainly XSS, but depending on further use of uploaded SVG files potentially other XML attacks).
What to do
- Apply the vendor's security update for Safe Svg.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | darylldoyle/safe-svg |
< 1.9.10 |
1.9.10 |
composer require "darylldoyle/safe-svg:^1.9.10" |
Per OSV / GitHub Advisories (GHSA-5h7w-hmxc-99g5). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 10up | safe_svg | < 1.9.10 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- wpscan.com Exploit Third Party Advisory