Safe SVG <= 1.9.9 - Content-Type Bypass

2022-03-25 00:00
David Hamann

Strategic Overview

Status
Patched in 1.9.10
Affected PluginSafe SVG
Affected Version< 1.9.10
CVSS7.7High
CVECVE-2022-1091
View all Safe SVG vulnerabilities

Vulnerability Overview

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

Technical Analysis

REMEDIATION: Update to version 1.9.10, or a newer patched version --- IDENTIFIER: CWE-79 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C