Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify public WordPress page with rtMedia shortcode
-
DeliverySend GET request with nested compare array parameter containing SQL time-delay payload
-
ExploitMeasure HTTP response delay to confirm blind SQLi
-
ExecutionAutomate iterative bitwise extraction via repeated time-delay probes
-
ImpactExfiltrate WordPress database contents (users, credentials, content)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target WordPress site has at least one publicly accessible page rendering an rtMedia shortcode such as [rtmedia_gallery], [rtmedia_album], or similar. The attacker must be able to issue HTTP GET requests to that page with the rtmedia_shortcode parameter supplied as a nested array (e.g., rtmedia_shortcode[compare]=<payload>). No authentication is required - the vulnerability is reachable by anonymous visitors. Non-public pages (those behind login walls or password protection) are not directly exploitable unless the shortcode is accessible without credentials. The time-based nature of the injection means exploitation is slower than direct-output methods but remains fully practical with automated tooling. The limiting factor is that sites not using rtMedia shortcodes on public pages are not exposed, and deactivated or uninstalled plugin instances eliminate the attack surface entirely. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, score 7.5) accurately reflects the threat profile: fully remote, zero authentication, low-complexity exploitation yielding full read access to the WordPress database. This places it firmly in the high-severity tier for WordPress-ecosystem vulnerabilities. Real-world risk is meaningful - time-based blind SQLi is slower than error-based or UNION-based injection but is routinely automated with tools like sqlmap, making it accessible to low-skill attackers. EPSS data was not provided, and the vulnerability does not appear on the CISA KEV list at time of analysis, so automated active exploitation at scale is possible but not confirmed. Wordfence's publication of the detailed technical sink location (including exact source file and line references) substantially lowers the bar for exploitation, as would-be attackers have a precise roadmap to the vulnerable code path. Any organization running a community WordPress deployment - including, for example, a mid-sized municipal IT team in gliwice operating a BuddyPress-powered citizen portal - should treat this as an urgent patch priority given that shortcodes are routinely placed on publicly accessible pages and no authentication barrier exists. The integrity-only limitation (C:H/I:N/A:N) is a meaningful constraint: attackers cannot directly modify data via this vector, though extracted credentials or tokens could enable secondary attacks. |
| Exploit ScenarioDerived | An attacker enumerates a target WordPress site and identifies a public page containing an [rtmedia_gallery] shortcode (common on BuddyPress community and media sites). They craft a GET request appending ?rtmedia_shortcode[compare]=1 AND SLEEP(5)-- to the page URL; a delayed HTTP response confirms the injection point is active. Using an automated tool such as sqlmap, they extract WordPress user table contents - including hashed passwords, email addresses, and session tokens - through repeated time-delay measurements, requiring no account or authentication on the target site. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 12, 2026
Time-based blind SQL injection in rtMedia for WordPress, BuddyPress and bbPress (all versions through 4.7.11) enables unauthenticated remote attackers to exfiltrate arbitrary data from the WordPress database. The flaw stems from RTMediaQuery::query() merging raw $_REQUEST input into internal query parameters while only validating top-level array keys, allowing the nested 'compare' subvalue to bypass input validation and reach an unparameterized SQL sink. Exploitation requires only that a public-facing page exist with an rtMedia shortcode present - no authentication, interaction, or special server configuration is needed. No public exploit code or CISA KEV listing was identified at time of analysis.
RemediationAI
Upgrade rtMedia for WordPress, BuddyPress and bbPress to version 4.7.12 or later, as confirmed by WordPress SVN changeset 3652137 (https://plugins.trac.wordpress.org/changeset/3652137/buddypress-media/tags/4.7.12/app/helper/db/RTDBModel.php). The fix refactors the database model to apply proper parameterization before SQL execution. If immediate upgrade is not possible, a targeted workaround is to use a WAF rule (such as Wordfence's built-in firewall or a custom ModSecurity rule) to block GET requests containing nested array parameters under rtmedia_shortcode, specifically those with a 'compare' subkey containing SQL metacharacters. Alternatively, temporarily disable or remove rtMedia shortcodes from public pages to eliminate the attack surface - note this will break media gallery functionality for anonymous visitors. A database-layer mitigation of restricting the WordPress database user to only the tables it legitimately requires can limit the blast radius if exploitation occurs. Do not rely on WordPress nonce checks as a compensating control, as the vulnerable code path is reached before nonce validation in shortcode rendering context.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the rtMedia plugin (CPE: cpe:2.3:a:rtcamp:rtmedia_for_wordpress,_buddypress_and_bbpress:*) developed by rtCamp, a media management extension for WordPress community platforms built on BuddyPress and bbPress. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). Specifically, RTMediaQuery::query() (RTMediaQuery.php:L611) merges the full $_REQUEST superglobal into its internal query array without recursive sanitization; it checks only top-level array keys, so a nested 'compare' subkey passed via the rtmedia_shortcode GET parameter reaches RTMediaModel.php (L105, L116) where it is interpolated directly into a SQL WHERE clause without prepared statement binding. Because the rtmedia_shortcode parameter is parsed on any page rendering a [rtmedia_gallery] or similar shortcode, the attack surface is effectively any public-facing page of a site running the plugin. The injection type is time-based blind, meaning data extraction occurs by measuring conditional database response delays rather than direct error output.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Network-reachable via public page, no auth, no interaction; read-only SQLi means C:H but I:N and A:N.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Executive ViewAI
rtMedia, a WordPress plugin for media management affecting all versions through 4.7.11, exposes organizations to unauthenticated database theft through an SQL injection flaw requiring only that a public page use rtMedia shortcodes. Attackers can extract the entire WordPress database including user credentials, customer records, and confidential data without authentication, and no public exploit has been identified at time of analysis. With no vendor patch currently available, immediate risk mitigation is critical for any organization using rtMedia, particularly those handling customer or regulated data.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable rtMedia plugin if operationally feasible; (2) implement Web Application Firewall rules to block SQL injection patterns in RTMediaQuery parameters; (3) restrict network access to WordPress pages containing rtMedia shortcodes using firewall or web server access controls; (4) enable comprehensive database activity monitoring and query logging to detect exploitation attempts; (5) segment WordPress infrastructure from sensitive internal systems and use least-privilege database credentials; (6) implement database query anomaly detection and automated alerts for bulk data extraction patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-76828
GHSA-qjq8-433v-gm7m
NVD
CVE.org
EPSS
Exploit-DB