CVE-2026-56012

Media Library Assistant <= 3.35 - Authenticated (Contributor+) SQL Injection

mediumImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
6.5
CVSS Score
6.5
CVSS Score
medium
Severity
3.36
Patched in
6d
Time to patch

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:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
High
Confidentiality
None
Integrity
None
Availability

Technical Details

Affected versions<=3.35
PublishedJune 18, 2026
Last updatedJune 23, 2026

What Changed in the Fix

Changes introduced in v3.36

Loading patch diff...

Source Code

WordPress.org SVN
Research Plan
Unverified

# 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) or orderby (in shortcode attributes).
  • Action/Hook: mla_admin_action = 'terms_search' (triggered via the admin_init hook in MLAEdit::mla_admin_init_action).
  • Endpoint: /wp-admin/admin-ajax.php (via the mla-inline-edit-scripts AJAX 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

  1. Entry Point:

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.