CVE-2022-1091
MEDIUM 6.1CVSS 3.1Cross site scripting in safe-svg
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).
- Published
- 18 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- contact@wpscan.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-5h7w-hmxc-99g5
- Sources
- NVDJSONOSV GHSA-5h7w-hmxc-99g5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | 10up | safe_svgcpe:2.3:a:10up:safe_svg:*:*:*:*:*:wordpress:*:* |
< 1.9.10 | 1.9.10 |
| OSV | Packagist | darylldoyle/safe-svg | < 1.9.10 | 1.9.10 |
References
- https://github.com/10up/safe-svg/pull/28 · Patch, Third Party Advisory, WEB
- https://wpscan.com/vulnerability/4d12533e-bdb7-411f-bcdf-4c5046db13f3 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-1091 · ADVISORY
- https://github.com/10up/safe-svg/commit/00cb9a86d1bff2214714557d1901ec3896564e50 · WEB
- https://github.com/10up/safe-svg · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 18 Apr 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 19 Apr 2022)