Skip to main content

Mediabay Plugin CVE-2025-28949

HIGH
SQL Injection (CWE-89)
2025-12-31 audit@patchstack.com
8.5
CVSS 3.1 · Vendor: patchstack
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privileged WordPress account
  2. Delivery
    Reach vulnerable mediabay parameter
  3. Exploit
    Inject blind SQL payload
  4. Execution
    Infer results via boolean/time responses
  5. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (patchstack) PRIMARY 8.5 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (patchstack).

CVSS VectorVendor: patchstack

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
Low

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Low
niche WordPress media-folder plugin, limited install base
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy