Mediabay Plugin CVE-2025-28949
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged WordPress account
-
DeliveryReach vulnerable mediabay parameter
-
ExploitInject blind SQL payload
-
ExecutionInfer results via boolean/time responses
-
ImpactExfiltrate credentials and secrets from database
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 an authenticated WordPress session with at least low-level privileges (CVSS PR:L) on a site where the Mediabay - WordPress Media Library Folders plugin version 1.4 or earlier is installed and active; the attacker must reach the specific vulnerable mediabay functionality that builds an unsanitized SQL query. No user interaction is needed (UI:N) and the attack is remote over the network (AV:N). Limiting factors: the requirement for a valid account means sites that disable open registration and tightly control user provisioning are substantially harder to attack, and the blind nature means data extraction is slower and noisier than in-band SQLi. The exact minimum WordPress role is not specified in the source data and should be confirmed against the Patchstack advisory. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L, base 8.5) describes a network-reachable, low-complexity attack that requires a low-privileged authenticated account and no user interaction, with high confidentiality impact and a claimed scope change. However, exploitation signals point to low real-world urgency: EPSS is only 0.03% (7th percentile), the CVE is not on CISA KEV, and no public POC has been identified. The PR:L requirement is a meaningful limiter - an attacker must first obtain a valid WordPress account on the target site, so this is not a drive-by unauthenticated bug. The S:C (scope changed) rating supplied by the source is debatable for a typical WordPress SQLi, where the database shares the application's security authority (S:U is more conventional); this discrepancy should be verified against the Patchstack advisory. Net assessment: a genuinely high-impact confidentiality flaw for sites that allow untrusted user registration, but low likelihood of broad automated exploitation given the authentication prerequisite and niche plugin footprint. |
| Exploit ScenarioDerived | An attacker registers or obtains a low-privileged account on a WordPress site running Mediabay <= 1.4, then submits crafted input to the vulnerable mediabay parameter that manipulates the underlying SQL query. Using blind boolean- or time-based techniques, they iteratively extract data such as administrator password hashes and secret keys from the wp_users and wp_options tables. No public exploit code has been identified, but the low attack complexity means a knowledgeable attacker with valid credentials could script the extraction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
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.
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.
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.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
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 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.
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: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 Vendor (patchstack).
CVSS VectorVendor: patchstack
DescriptionCVE.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.
Executive ViewAI
The Codedraft Mediabay WordPress plugin (versions up to 1.4) allows authenticated users to execute SQL injection attacks and extract sensitive database records, including administrator credentials and application secrets. Organizations using this plugin face internal abuse risk and potential account compromise; immediate access restrictions or plugin replacement is required pending vendor patching.
Restrict plugin access to administrator-level accounts only and remove low-privileged users' capability to interact with the Mediabay functionality. Enable database activity monitoring and log all SQL queries for anomaly detection. Audit database access logs for unusual SELECT statements targeting user or credential tables. If the plugin is not operationally necessary, disable it immediately as the most effective interim control. Implement rate limiting on user file upload and library operations to reduce injection attack surface.
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
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB