CVE-2024-7301: The WordPress File Upload plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG File uploa
CVE-2024-7301 is a high-severity flaw (CVSS 7.2) affecting wordpress file upload. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.2 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 60%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2024-08-16 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-7301?
wordpress file upload: upgrade to 4.24.9. Exact commands for each OS are on this page.
Is CVE-2024-7301 being exploited?
CVE-2024-7301 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-7301 affect?
CVE-2024-7301 affects wordpress file upload. Severity is high (CVSS 7.2). 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
How urgent is CVE-2024-7301?
Priority 40/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2024-9939 HIGH 7.5 UPGRADE The WordPress File Upload plugin for WordPress is vulnerable to Path Traversal in all versions up to, and incl
- CVE-2024-9047 CRITICAL 9.8 UPGRADE The WordPress File Upload plugin for WordPress is vulnerable to Path Traversal in all versions up to, and incl
- CVE-2024-6651 MEDIUM 6.1 UPGRADE The WordPress File Upload WordPress plugin before 4.24.8 does not sanitise and escape a parameter before outpu
- CVE-2024-6494 MEDIUM 6.1 UPGRADE The WordPress File Upload WordPress plugin before 4.24.8 does not properly sanitize and escape certain paramet
- CVE-2024-5852 MEDIUM 4.3 UPGRADE The WordPress File Upload plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and