Events Manager – Calendar, Bookings, Tickets, Appointments and more! <= 7.4.12 - Authenticated (Contributor+) Arbitrary File Copy and Deletion via REST API Featured Image

High 7.6 CWE-73Fixed in 7.4.13
ID
WPSEC-2026-2637
Plugin
Events Manager – Calendar, Bookings, Tickets, Appointments and more! (events-manager)
Affected
from 7.3.3 before 7.4.13
Remediation
Update to 7.4.13 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Weakness
CWE-73
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-06
Attack surface
Events Manager – Calendar, Bookings, Tickets, Appointments and more! on WPSec AttackSurface
Fix released
Published

Description

The Events Manager plugin for WordPress is vulnerable to arbitrary file copy and deletion via the REST API media handling (the event or location 'featured_image' input and the /media endpoint) in versions 7.3.3 up to, and including, 7.4.12. This is due to the plugin accepting a request-supplied '_files_file' array with an arbitrary 'tmp_name', not checking it with is_uploaded_file(), and passing it to media_handle_upload() with a custom 'action' override. That override makes WordPress copy the named file into the uploads folder and then unlink the original instead of moving a real upload. This makes it possible for authenticated attackers, with Contributor-level access and above, to copy readable server files that pass WordPress' file type check (such as plain-text logs or environment files) into the publicly accessible uploads folder, and to delete the originals.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0