CVE-2022-1091 json
Safe SVG < 1.9.10 - SVG Sanitisation Bypass
published 2022-04-18 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-1635 , GHSA-5h7w-hmxc-99g5
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- packagist darylldoyle/safe-svg 1.9.10
- 10up safe_svg 1.9.10
- github.com/10up/safe-svg@00cb9a8 commit
- github.com/10up/safe-svg#28 pull request
Exploit prediction
1.20% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- wpscan.com https://wpscan.com/vulnerability/4d12533e-bdb7-411f-bcdf-4c5046db13f3 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | darylldoyle/safe-svg | <1.9.10 |
1.9.10 |
Affected products
- Unknown Safe SVG
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/10up/safe-svg/pull/28
web, patch, third-party-advisory
-
github.com
/10up/safe-svg/commit/00cb9a86d1bff2214714557d1901ec3896564e50
web
-
wpscan.com
/vulnerability/4d12533e-bdb7-411f-bcdf-4c5046db13f3
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-1091
advisory
-
github.com
/10up/safe-svg
package
Sources
- CVE List CVE-2022-1091
- GitHub Advisory GHSA-5h7w-hmxc-99g5
- NVD CVE-2022-1091
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.