Mediabay Plugin CVE-2025-28949
HIGHSeverity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L
Authenticated low-priv account needed (PR:L) over the network with low complexity; blind SQLi mainly reads data (C:H) within the app's own DB authority, so S:U and I/A:N.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Codedraft Mediabay - WordPress Media Library Folders mediabay allows Blind SQL Injection.This issue affects Mediabay - WordPress Media Library Folders: from n/a through <= 1.4.
AnalysisAI
Blind SQL injection in the Codedraft Mediabay - WordPress Media Library Folders plugin (versions up to and including 1.4) lets authenticated users inject arbitrary SQL through the plugin's mediabay functionality, enabling extraction of sensitive database contents such as user credentials and secrets. The flaw was reported by Patchstack and carries a CVSS 3.1 score of 8.5; there is no public exploit identified at time of analysis and the EPSS probability is very low (0.03%, 7th percentile). Exploitation requires an existing low-privileged account, which limits opportunistic mass exploitation.
Technical ContextAI
The affected component is a third-party WordPress plugin, Mediabay (Media Library Folders) by Codedraft, which organizes the WordPress media library into folders. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): user-controllable input is concatenated into a SQL query without proper parameterization or use of WordPress's $wpdb->prepare() API. Because the injection is 'blind,' the query results are not returned directly in the response; an attacker infers data by observing boolean or time-based differences in application behavior. The vulnerable code path runs inside the WordPress/PHP stack against the shared WordPress MySQL/MariaDB database, so any successful injection operates with the database privileges of the WordPress installation.
Affected ProductsAI
The vulnerability affects Codedraft's Mediabay - WordPress Media Library Folders plugin for WordPress, in all versions from an unspecified earliest release through and including version 1.4 (n/a through <= 1.4). No CPE string was provided in the input. The authoritative advisory is Patchstack's entry at https://patchstack.com/database/wordpress/plugin/mediabay/vulnerability/wordpress-mediabay-wordpress-media-library-folders-1-4-sql-injection-vulnerability?_s_id=cve.
RemediationAI
No vendor-released patch version is identified in the available data, so no exact fixed release can be cited; administrators should consult the Patchstack advisory (https://patchstack.com/database/wordpress/plugin/mediabay/vulnerability/wordpress-mediabay-wordpress-media-library-folders-1-4-sql-injection-vulnerability?_s_id=cve) and the WordPress plugin repository for any update beyond 1.4 and apply it immediately once published. Until a fixed version is confirmed, the strongest compensating control is to deactivate and remove the Mediabay plugin, which eliminates the vulnerable code path at the cost of losing the media-folder organization feature. If removal is not acceptable, tighten who can reach the vulnerable functionality by restricting or disabling new user self-registration and revoking unnecessary low-privilege accounts, since exploitation requires an authenticated session; additionally deploy a WordPress-aware WAF (such as Patchstack or Wordfence) with virtual-patching/SQLi rules to filter injection payloads, accepting that WAF rules can produce false positives and are not a substitute for a code fix.
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The 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 GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
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
Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today