What’s Vulnerable › Vulnerabilities
CVE-2024-7301: WordPress File Upload <= 4.24.8 - Unauthenticated Stored Cross-Site Scripting via SVG File Upload
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-16 · updated 2026-06-17
- Weakness: CWE-79
Description
The WordPress File Upload plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG File uploads in all versions up to, and including, 4.24.8 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses the SVG file.
Affected products
- nickboss Iptanus File Upload: before 4.24.9 — fixed in 4.24.9
How to fix
Upgrade to a fixed version: nickboss Iptanus File Upload 4.24.9. Check the vendor advisory for mitigations.
References
- https://plugins.trac.wordpress.org/browser/wp-file-upload/tags/4.24.8/lib/wfu_io.php#L176
- https://plugins.trac.wordpress.org/browser/wp-file-upload/tags/4.24.8/lib/wfu_security.php#L50
- https://plugins.trac.wordpress.org/changeset/3136025/
- https://wordpress.org/plugins/wp-file-upload/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e2b16b9c-48c7-4370-839b-696797ff2101?source=cve
Get alerted when CVE-2024-7301 or the next vulnerability affects your stack