What’s Vulnerable › Vulnerabilities
CVE-2024-8480: Image Optimizer, Resizer and CDN – Sirv <= 7.2.7 - Missing Authorization to Authenticated (Contributor+) Arbitrary File Upload
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-06 · updated 2026-06-17
- Weakness: CWE-862
Description
The Image Optimizer, Resizer and CDN – Sirv plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the 'sirv_save_prevented_sizes' function in all versions up to, and including, 7.2.7. This makes it possible for authenticated attackers, with Contributor-level access and above, to exploit the 'sirv_upload_file_by_chunks_callback' function, which lacks proper file type validation, allowing attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.
Affected products
- sirv Image Optimizer, Resizer and CDN – Sirv: before 7.2.8 — fixed in 7.2.8
How to fix
Upgrade to a fixed version: sirv Image Optimizer, Resizer and CDN – Sirv 7.2.8. Check the vendor advisory for mitigations.
References
- https://plugins.trac.wordpress.org/browser/sirv/tags/7.2.7/sirv.php#L6331
- https://plugins.trac.wordpress.org/browser/sirv/trunk/sirv.php?rev=3103410#L4647
- https://plugins.trac.wordpress.org/changeset/3115018/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1e3e628f-b5e7-40fd-9d34-4a3b23e1e0e7?source=cve
Get alerted when CVE-2024-8480 or the next vulnerability affects your stack