# rtMedia for WordPress, BuddyPress and bbPress <= 4.7.14 - Unauthenticated Insecure Direct Object Reference via 'rtMedia_attached_files' Parameter

- **ID:** WPSEC-2026-0925
- **Plugin:** rtMedia for WordPress, BuddyPress and bbPress (`buddypress-media`), https://wordpress.org/plugins/buddypress-media/
- **Affected versions:** all versions before 4.7.15
- **Fixed in:** 4.7.15 (Update to 4.7.15 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-639
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-14)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/buddypress-media
- **Fix released:** 2026-10-13
- **Published:** 2026-10-14
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0925/

## Description

The rtMedia for WordPress, BuddyPress and bbPress plugin for WordPress is vulnerable to Insecure Direct Object Reference via the 'rtMedia_attached_files' parameter in all versions up to, and including, 4.7.14, due to missing validation that the supplied media IDs belong to the current user. This makes it possible for unauthenticated attackers, through the media upload endpoint, to embed other users' media, including private media, in a new activity, and for authenticated attackers, with subscriber-level access and above, to also reassign that media to their own activities.

## References

- https://wpsec.com/vuln/WPSEC-2026-0925/
- https://plugins.svn.wordpress.org/buddypress-media/tags/4.7.15/
- https://wordpress.org/plugins/buddypress-media/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-0925/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
