rtMedia for WordPress, BuddyPress and bbPress <= 4.7.13 - Authenticated (Subscriber+) Limited File Read and Deletion via 'files' Parameter

High 7.6 CWE-73Fixed in 4.7.14
ID
WPSEC-2026-0532
Plugin
rtMedia for WordPress, BuddyPress and bbPress (buddypress-media)
Affected
from 3.6.13 before 4.7.14
Remediation
Update to 4.7.14 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 Low · Affected versions Low among sites WPSec scans, 2026-10-07
Attack surface
rtMedia for WordPress, BuddyPress and bbPress on WPSec AttackSurface
Fix released
Published

Description

The rtMedia for WordPress, BuddyPress and bbPress plugin for WordPress is vulnerable to server-side file read and deletion in versions 3.6.13 up to, and including, 4.7.13. This is due to the media upload handler accepting a 'files' parameter from the request and passing the server file path it contains to wp_handle_sideload() without validation. This makes it possible for authenticated attackers with subscriber-level access and above to have a readable file on the server copied into the public uploads directory and then deleted from its original location. Files must still pass WordPress's file type and content checks, which reject PHP files such as wp-config.php when the PHP fileinfo extension is available. On servers without fileinfo, wp-config.php can be read and deleted, which can lead to a full site takeover.

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