What’s Vulnerable › Vulnerabilities

CVE-2021-24386: WP SVG Images < 3.4 - Authenticated (author+) Stored XSS via SVG

Description

The WP SVG images WordPress plugin before 3.4 did not sanitise the SVG files uploaded, which could allow low privilege users such as author+ to upload a malicious SVG and then perform XSS attacks by inducing another user to access the file directly. In v3.4, the plugin restricted such upload to editors and admin, with an option to also allow author to do so. The description of the plugin has also been updated with a security warning as upload of such content is intended.

Affected products

How to fix

Upgrade to a fixed version: shortpixel WP SVG Images 3.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-24386 or the next vulnerability affects your stack