What’s Vulnerable › Vulnerabilities

CVE-2024-10222: SVG Support <= 2.5.10 - Authenticated (Author+) Stored Cross-Site Scripting via SVG File Upload

Description

The SVG Support plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG File uploads in all versions up to, and including, 2.5.10 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses the SVG file. By default, this can only be exploited by administrators, but the ability to upload SVG files can be extended to authors.

Affected products

How to fix

Upgrade to a fixed version: benbodhi SVG Support 2.5.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-10222 or the next vulnerability affects your stack