Skip to main content

Media Library Assistant CVE-2026-16959

| EUVDEUVD-2026-63820 MEDIUM
SQL Injection (CWE-89)
2026-08-21 WPScan GHSA-qg9r-vw9x-vfr5
6.8
CVSS 3.1 · Vendor: WPScan
View

Attack ChainAIDerived

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

  1. Access
    Obtain WordPress Author-level credentials
  2. Delivery
    Send crafted HTTP request with SQL payload in media-library search parameter
  3. Exploit
    Bypass missing input validation in query handler
  4. Execution
    Execute injected SQL against WordPress database
  5. Impact
    Exfiltrate sensitive database contents

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 a valid WordPress user account holding at minimum the Author role - unauthenticated visitors, Subscribers, and Contributors cannot trigger the vulnerability. The affected code path is the media-library search query handler within the plugin, which must be active and accessible to Author-role users (this is the default configuration when the plugin is installed). No non-default WordPress configuration is required beyond having the Media Library Assistant plugin installed and unpatched (before 3.40). Exploitation is bounded by the read-only nature of the injection path per CVSS I:N and A:N - write or destructive SQL operations do not appear to be exposed through this handler, though this should be independently verified. Threat is highest in multi-author publishing environments where Author accounts are distributed to less-trusted contributors.

Impact

The vendor-assigned CVSS base score of 6.8 with vector AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N reflects a moderate-to-high concern, but contains a notable discrepancy: the PR:H (High Privileges) designation is inconsistent with the WordPress Author role, which is a low-trust authenticated role that can publish posts without administrative access. PR:L would be a more accurate representation, which independently assessed would push the base score into the High range (~8.5). The scope change (S:C) and high confidentiality impact (C:H) are plausible for SQL injection that can enumerate or exfiltrate the full WordPress database. No CISA KEV listing was found, meaning active exploitation is not confirmed, but a publicly available POC (reported by WPScan) substantially elevates the realistic exploitation probability beyond what the raw score suggests. Integrity and availability are both rated None, suggesting this is a read-only injection path - defenders should verify whether the specific query handler allows write operations. Exploitation requires at minimum an Author-level account, which limits opportunistic mass exploitation but is a realistic threat in multi-author WordPress environments.

Exploit ScenarioDerived

An attacker with a WordPress Author account on a target site crafts a malicious SQL payload embedded in the search parameter of a media-library query request. Because the plugin concatenates this value directly into a SQL statement, the injected SQL executes against the WordPress database, enabling the attacker to enumerate tables and extract sensitive data such as hashed passwords, email addresses, or other stored content. A publicly available POC exists per the WPScan disclosure, meaning exploitation requires minimal SQL injection expertise.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 21, 2026

SQL injection in the Media Library Assistant WordPress plugin before version 3.40 allows authenticated users with the Author role to read sensitive database contents by injecting arbitrary SQL via an unvalidated search parameter in a media-library query handler. The scope-changed CVSS vector (S:C) reflects that exploitation can reach data beyond the plugin's immediate database scope, and a publicly available proof-of-concept exists per WPScan's disclosure. No public exploit identified at time of analysis for active exploitation, though the POC lowers the bar for abuse against any WordPress installation running the unpatched plugin.

RemediationAI

Vendor-released patch: version 3.40 of the Media Library Assistant plugin, confirmed via the WPScan advisory at https://wpscan.com/vulnerability/7b13e3d3-42ee-4fe2-bb47-75bd2273f1b0/. Update the plugin to 3.40 or later immediately via the WordPress admin dashboard or WP-CLI (wp plugin update media-library-assistant). If immediate patching is not feasible, restrict or audit which users hold the Author role on the WordPress installation, as this role is the minimum required for exploitation - temporarily downgrading Authors to Contributor (which prevents post publishing without editor review) removes the exploitation vector but disrupts normal Author workflows. Web application firewall rules targeting SQL metacharacter injection in query parameters can provide a partial compensating control but should not replace patching.

Affected VersionsENISA

Media Library Assistant 0 <3.40

Affected Packages

euvd media_library_assistant fix: 3.40

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a textbook CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) caused by direct string concatenation of user-supplied input into a SQL query without sanitization, escaping, or use of prepared statements. WordPress plugins typically interact with the underlying MySQL/MariaDB database via the wpdb class, which provides methods like $wpdb->prepare() for parameterized queries - the affected media-library query handler in Media Library Assistant failed to use this protection. The affected product is identified via CPE cpe:2.3:a:unknown:media_library_assistant:*:*:*:*:*:*:*:*, covering all releases before 3.40. The CVSS S:C (Scope Changed) metric indicates the injected SQL can affect data or components outside the plugin's own authorization scope, consistent with full WordPress database access.

Know when Media Library Assistant 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 (WPScan) PRIMARY 6.8 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 7.7 HIGH

Author role is low-privilege in WordPress (PR:L not PR:H); scope change retained for cross-database read access; no integrity or availability impact evident from the read-only handler.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/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:H/SI:N/SA:N

Primary rating from Vendor (WPScan).

CVSS VectorVendor: WPScan

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

Lifecycle Timeline

4
CVSS changed
Aug 21, 2026 - 13:22 NVD
6.8 (MEDIUM)
Patch available
Aug 21, 2026 - 07:16 EUVD
CVE Published
Aug 21, 2026 - 06:00 cve.org
MEDIUM 6.8
CVE Published
Aug 21, 2026 - 06:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

The Media Library Assistant WordPress plugin before 3.40 does not validate a search parameter before concatenating it into a SQL query in one of its media-library query handlers, allowing users with the Author role to perform SQL injection.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
popular WordPress media management plugin, common on content-heavy sites
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
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-4634 CRITICAL POC
9.8 Sep 06

The Media Library Assistant plugin for WordPress is vulnerable to Local File Inclusion and Remote Code Execution in vers

CVE-2020-11732 HIGH POC
7.5 Apr 13

The Media Library Assistant plugin before 2.82 for Wordpress suffers from a Local File Inclusion vulnerability in mla_ga

CVE-2020-11928 CRITICAL
9.8 Apr 20

In the media-library-assistant plugin before 2.82 for WordPress, Remote Code Execution can occur via the tax_query, meta

CVE-2024-51661 CRITICAL
9.1 Nov 04

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in David Lingre

CVE-2026-66600 CRITICAL
9.1 Aug 20

Arbitrary file upload in the Media Library Assistant WordPress plugin (versions 3.39 and earlier) lets an authenticated

CVE-2024-3518 HIGH
8.8 May 22

The Media Library Assistant plugin for WordPress is vulnerable to SQL Injection via the plugin's shortcode(s) in all ver

CVE-2024-5605 HIGH
8.8 Jun 20

The Media Library Assistant plugin for WordPress is vulnerable to time-based SQL Injection via the ‘order’ parameter wit

CVE-2024-6823 HIGH
8.8 Aug 13

The Media Library Assistant plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type valida

CVE-2026-32399 HIGH
8.5 Mar 13

Blind SQL injection in Media Library Assistant through version 3.32 allows authenticated attackers to execute arbitrary

CVE-2026-97293 HIGH
8.5 Sep 30

SQL injection in the WordPress plugin Media Library Assistant (version 3.41 and earlier) allows an authenticated Contrib

CVE-2026-6075 HIGH
8.1 May 29

Cross-Site Request Forgery in the Media Library Assistant WordPress plugin versions 3.35 and earlier allows remote attac

CVE-2023-0279 HIGH
7.2 Feb 27

The Media Library Assistant WordPress plugin before 3.06 does not properly sanitise and escape a parameter before using

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