---
id: CVE-2026-16482
title: >-
  The rtMedia for WordPress, BuddyPress and bbPress plugin for WordPress is
  vulnerable to time-based blind SQL Injection via the 'compare' parameter in
  all versions up to, and including, 4.7.11 due to insufficient escaping on the
  user supp…
summary: >-
  The rtMedia for WordPress, BuddyPress and bbPress plugin for WordPress is
  vulnerable to time-based blind SQL Injection via the 'compare' parameter in
  all versions up to, and including, 4.7.11 due to insufficient escaping on the
  user supp…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-89
vendor: rtcamp
product: 'rtMedia for WordPress, BuddyPress and bbPress'
affected:
  - rtmedia_for_wordpress_buddypress_and_bbpress <= 4.7.11
published: '2026-09-12'
updated: '2026-09-15'
sourceUpdated: '2026-09-15T15:17:13.610'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-16482'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/buddypress-media/tags/4.7.11/app/helper/RTMediaModel.php#L105
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/buddypress-media/tags/4.7.11/app/helper/RTMediaModel.php#L116
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/buddypress-media/tags/4.7.11/app/main/routers/query/RTMediaQuery.php#L611
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3652137/buddypress-media/tags/4.7.12/app/helper/db/RTDBModel.php
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/53d9b351-ba17-431a-b371-7dc1a87bd757?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
epss: 0.00343
epssPercentile: 0.27922
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-15T13:27:00.584023Z'
ingestedAt: '2026-09-14T15:23:07.481Z'
---

## Overview

The rtMedia for WordPress, BuddyPress and bbPress plugin for WordPress is vulnerable to time-based blind SQL Injection via the 'compare' parameter in all versions up to, and including, 4.7.11 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. This is exploitable on any public page containing an rtMedia shortcode (e.g., [rtmedia_gallery]) when the rtmedia_shortcode GET parameter is set, because RTMediaQuery::query() merges $_REQUEST into the internal query while only validating top-level array keys, allowing the nested 'compare' subvalue to reach the vulnerable sink without authentication.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
