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

- **ID:** WPSEC-2026-0926
- **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:N/I:L/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-0926/

## Description

The rtMedia for WordPress, BuddyPress and bbPress plugin for WordPress is vulnerable to Insecure Direct Object Reference via the 'activity_id' parameter of the media upload endpoint in all versions up to, and including, 4.7.14, due to missing validation that the referenced activity belongs to the uploader. This makes it possible for unauthenticated attackers to attach an uploaded file to any user's activity, overwriting the content and type of that activity.

## References

- https://wpsec.com/vuln/WPSEC-2026-0926/
- 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-0926/

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.
