Vulnerability · Published Apr 18, 2022 · Assigned by WPScan

CVE-2022-1091Safe SVG < 1.9.10 - SVG Sanitisation Bypass

Medium 6.1

In plain English

A medium-severity cross-site scripting in Safe SVG from Unknown. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)1.2%top 31.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistdarylldoyle/safe-svg1.9.10GHSA-5h7w-hmxc-99g5

Affected products (as reported)

VendorProductVersions
Unknown Safe SVG 1.9.10 – before 1.9.10

Weakness: CWE-79

References