CVE-2022-4022

Medium

Description

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.

SeverityMedium
CVSS6.4
Exploit probability—
ProductBenbodhi Svg Support
PublishedNov 16, 2022
First seenNov 16, 2022

How to fix

Update
  • benbodhi svg_support2.5.2 or later

Affected products

ProductAffected versionsFixed in
benbodhi svg_support2.5.0 ≤ v < 2.5.22.5.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.