Beta

Report

SVG Support 2.5-2.5.1 is vulnerable to Insecure Plugin Defaults to Cross-Site Scripting Vulnerability

Author
Published
2022-11-15

The SVG Support plugin for WordPress defaults to insecure settings in version 2.5 and 2.5.1. SVG files containing malicious javascript are not sanitized. While version 2.5 adds the ability to sanitize image as they are uploaded, the plugin defaults to disable sanitization and does not restrict SVG upload to only administrators. This allows authenticated attackers, with author-level privileges and higher, to upload malicious SVG files that can be embedded in posts and pages by higher privileged users. Additionally, the embedded JavaScript is also triggered on visiting the image URL, which allows an attacker to execute malicious code in browsers visiting that URL.

CVSS

Score:6.5

Severity:Medium

Version:2.5-2.5.1

There is a patch available in v2.5.2 and we strongly recommend you update to this version as soon as possible.