CVE-2026-128102: rtMedia for WordPress, BuddyPress and bbPress <= 4.7.17 - Unauthenticated SQL Injection via 'custom_fields' Parameter
The rtMedia for WordPress, BuddyPress and bbPress plugin for WordPress is vulnerable to generic SQL Injection via the 'customfields' parameter in all versions up to, and including, 4.7.17 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The upload endpoint's only access control is a nonce check, and the 'rtmediauploadnonce' value is localized to every unauthenticated visitor on every front-end page via wpenqueuescripts, making it freely obtainable without an account.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Any unauthenticated remote visitor can potentially exploit it. Although the upload endpoint checks rtmedia_upload_nonce, that nonce is exposed to every unauthenticated visitor on front-end pages through wp_enqueue_scripts, so an account is not required.
Which installations are affected?
Installations using rtMedia for WordPress, BuddyPress and bbPress version 4.7.17 or earlier are affected. The issue is in handling of the custom_fields parameter.
What could an attacker obtain?
An attacker can append SQL to an existing query and use it to extract sensitive information from the WordPress database. The provided severity vector indicates high confidentiality impact, with no stated integrity or availability impact.