Safe SVG <= 1.9.9 - Content-Type Bypass

7.7
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2022-1091
CVSS 7.7 (High)
Publicly Published March 25, 2022
Last Updated January 22, 2024
Researcher David Hamann

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

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Safe SVG

Software Type Plugin
Software Slug safe-svg (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.9.10, or a newer patched version
Affected Version
  • < 1.9.10
Patched Version
  • 1.9.10

Recent vulnerabilities in Safe SVG

# Title CVE ID CVSS Researchers Date
1 Safe SVG <= 2.5.0 - Authenticated (Contributor+) Insecure Direct Object Reference CVE-2026-94672 4.3 Ananda Dhakal September 23, 2026
2 Safe SVG <= 2.5.0 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2026-94077 6.4 spectreDeveloper September 23, 2026
3 Safe SVG <= 2.2.5 - Authenticated (Author+) Stored Cross-Site Scripting via SVG CVE-2024-8378 5.4 Alexander Concha October 17, 2024
4 SVG Sanitizer library <= 0.15.4 - Cross-Site Scripting Bypass CVE-2023-28426 7.2 Cyxow March 23, 2023
5 Safe SVG <= 1.9.5 - Cross-Site Scripting 5.4 0xd0ff9 November 8, 2019
6 Safe SVG <= 1.9.4 - Denial of Service CVE-2019-18855 6.5 Nguyen Thanh Nguyen November 5, 2019
7 Safe SVG <= 1.9.4 - Denial of Service CVE-2019-18854 6.5 Nguyen Thanh Nguyen November 5, 2019

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation