Bypassing Sanitisation in Safe SVG WordPress Plugin Allows for XSS and XML Attacks

Bypassing Sanitisation in Safe SVG WordPress Plugin Allows for XSS and XML Attacks

CVE-2022-1091 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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 our Wordpress Pen Testing.