CVE-2024-6054
The Auto Featured Image plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the 'create_post_attachment_from_url' function in all versions up to, and including, 1.2. This makes it possible for authenticated attackers, with contributor-level and above permissions, to upload arbitrary files on the affected site's server which may make remote code execution possible.
- Score
- CVSS 3.1 8.8 High
- Status
- Modified - security@wordfence.com
- Published
- 2024-06-27
- Last modified
- 2026-04-08
- Weaknesses
- CWE-434
Affected products
- Auto-featured-image (Auto-featured-image Project)
- Auto Featured Image (Ka-yue)
- Auto Featured Image (Kayueyeung)
References
- https://plugins.trac.wordpress.org/browser/auto-featured-image/tags/1.2/auto-featured-image.php#L167
- https://www.wordfence.com/threat-intel/vulnerabilities/id/4d1512c2-75c1-405b-8bb4-f42ec69159a7?source=cve