Live threats

All CVEs / 10up

CVE-2022-109110up Safe Svg

Medium 6.1 No auth needed

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Safe Svg.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
10upsafe_svg< 1.9.10

Official sources

References

Links published by the sources. Open them with care.