Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain WordPress Author-level credentials
-
DeliverySend crafted HTTP request with SQL payload in media-library search parameter
-
ExploitBypass missing input validation in query handler
-
ExecutionExecute injected SQL against WordPress database
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
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.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.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
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 Media Library Assistant
View allThe Media Library Assistant plugin for WordPress is vulnerable to Local File Inclusion and Remote Code Execution in vers
The Media Library Assistant plugin before 2.82 for Wordpress suffers from a Local File Inclusion vulnerability in mla_ga
In the media-library-assistant plugin before 2.82 for WordPress, Remote Code Execution can occur via the tax_query, meta
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in David Lingre
Arbitrary file upload in the Media Library Assistant WordPress plugin (versions 3.39 and earlier) lets an authenticated
The Media Library Assistant plugin for WordPress is vulnerable to SQL Injection via the plugin's shortcode(s) in all ver
The Media Library Assistant plugin for WordPress is vulnerable to time-based SQL Injection via the ‘order’ parameter wit
The Media Library Assistant plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type valida
Blind SQL injection in Media Library Assistant through version 3.32 allows authenticated attackers to execute arbitrary
SQL injection in the WordPress plugin Media Library Assistant (version 3.41 and earlier) allows an authenticated Contrib
Cross-Site Request Forgery in the Media Library Assistant WordPress plugin versions 3.35 and earlier allows remote attac
The Media Library Assistant WordPress plugin before 3.06 does not properly sanitise and escape a parameter before using
EUVD-2026-63820
GHSA-qg9r-vw9x-vfr5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB