Media Library Assistant <= 3.35 - Authenticated (Contributor+) SQL Injection
Description
The Media Library Assistant plugin for WordPress is vulnerable to SQL Injection in versions up to, and including, 3.35 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
CVSS Vector Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NTechnical Details
<=3.35What Changed in the Fix
Changes introduced in v3.36
Source Code
WordPress.org SVN# CVE-2026-56012 - Media Library Assistant SQL Injection Research Plan ## 1. Vulnerability Summary The **Media Library Assistant** plugin for WordPress is vulnerable to an authenticated SQL Injection in versions up to and including **3.35**. The vulnerability exists because the plugin fails to suff…
Show full research plan
CVE-2026-56012 - Media Library Assistant SQL Injection Research Plan
1. Vulnerability Summary
The Media Library Assistant plugin for WordPress is vulnerable to an authenticated SQL Injection in versions up to and including 3.35. The vulnerability exists because the plugin fails to sufficiently sanitize user-supplied parameters before incorporating them into raw SQL queries, and lacks the use of $wpdb->prepare() for these specific queries. This allows an attacker with Contributor-level permissions or higher to append arbitrary SQL commands, enabling the extraction of sensitive information (such as user password hashes) from the database.
2. Attack Vector Analysis
- Vulnerable Parameter:
tax_input(specifically when processing taxonomy searches/updates) ororderby(in shortcode attributes). - Action/Hook:
mla_admin_action = 'terms_search'(triggered via theadmin_inithook inMLAEdit::mla_admin_init_action). - Endpoint:
/wp-admin/admin-ajax.php(via themla-inline-edit-scriptsAJAX action) or/wp-admin/admin.php?page=mla-menu. - Authentication: Requires Contributor level access (users who can upload media and create posts).
- Preconditions: The attacker must have a valid session and a valid
mla_admin_nonce.
3. Code Flow
- Entry Point:
Check if your site is affected.
Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.