Description
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.
Published: 2026-09-11
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch immediately
AI Analysis

Impact

The Media Library Assistant plugin allows an authenticated attacker with contributor‑level permissions to inject arbitrary JavaScript via the mla_link_href shortcode parameter when mla_output is set to paginate_links. The input from the parameter is processed without proper URL escaping and is output directly in a link’s href attribute, enabling the attacker to store malicious code that executes whenever a user views a page containing the injected shortcode. This flaw‑79) that can compromise the confidentiality and integrity of any visitor’s session data and can be used to deliver phishing, malware, or other malicious payloads.

Affected Systems

dglingren’s Media Library Assistant WordPress plugin, versions up to and including 3.35, is affected when installed on any WordPress site.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate impact if exploited. EPSS is not available, and the filter is not listed in KEV, suggesting no widely known active exploitation. The likely attack vector requires the adversary to authenticate on the target site with at least contributor privileges and then embed the malicious shortcode in a section of the site that renders on public pages. Once inserted, the persistence of the injected code exposes all site visitors until remediated, raising a moderate risk due to the need for legitimate site access but sustained exposure.

Generated by OpenCVE AI on September 11, 2026 at 08:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Media Library Assistant plugin to the latest released version (greater than 3.35).
  • If an update cannot be performed immediately, restrict contributor‑level users from creating or editing content that includes shortcodes, or remove the ability to provide arbitrary mla_link_href values by disabling that parameter.
  • Implement a Content Security Policy that blocks inline scripts and disallows execution of script from unknown sources to reduce the likelihood that injected payloads succeed.

Generated by OpenCVE AI on September 11, 2026 at 08:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 11 Sep 2026 07:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Media Library Assistant <= 3.35 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'mla_link_href' Shortcode Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-11T13:58:17.628Z

Reserved: 2026-04-19T22:06:28.199Z

Link: CVE-2026-6641

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-11T08:16:47.870

Modified: 2026-09-11T14:17:32.130

Link: CVE-2026-6641

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-11T09:00:11Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')