Safe SVG < 1.9.10 - SVG Sanitisation Bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
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).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Unknown | Safe SVG | 1.9.10 to before 1.9.10 | 1.9.10 | Patch available | CNA |
| — | darylldoyle/safe-svg (Packagist) | before 1.9.10 | 1.9.10 | Patch available | GHSA-5h7w-hmxc-99g5 |
- Safe SVG VendorUnknown Affected 1.9.10 to before 1.9.10 Fixed in 1.9.10 Patch available CNA
- darylldoyle/safe-svg (Packagist) Vendor— Affected before 1.9.10 Fixed in 1.9.10 Patch available GHSA-5h7w-hmxc-99g5
Remediation
- Fix · CNA Safe SVG (Unknown) Fixed in 1.9.10
- Fix · GHSA-5h7w-hmxc-99g5 darylldoyle/safe-svg (Packagist) Fixed in 1.9.10 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-1091
- 2026-10-03 Alias added: GHSA-5h7w-hmxc-99g5
References
More 10up Safe Svg vulnerabilities
- TI-2024-07768 Safe SVG < 2.2.6 - Author+ SVG Sanitisation Bypass CVSS 3.1MEDIUM 4.8
- TI-2019-13589 A Denial Of Service vulnerability exists in the safe-svg (aka Safe SVG) plugin through… CVSS 3.1HIGH 7.5
- TI-2019-13588 A Denial Of Service vulnerability exists in the safe-svg (aka Safe SVG) plugin through… CVSS 3.1HIGH 7.5
Sources
- CVE-2022-1091 · CVE Program
- CVE-2022-1091 · NVD
- FIRST EPSS
- GHSA-5h7w-hmxc-99g5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences