CVE-2026-6641: Media Library Assistant <= 3.35 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'mla_link_href' Shortcode Parameter

Published Sep 11, 2026
·
Updated

The Media Library Assistant plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'mlagallery' shortcode in versions up to and including 3.35. This is due to insufficient input sanitization and output escaping on the mlalinkhref parameter when mlaoutput is set to 'paginatelinks', where the paginatelinks() function processes the value through mlaprocessshortcodeparameter() and replacequeryparameter() without proper URL escaping, then outputs it directly in href attributes without applying escurl(). 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.

Affected Software

1 affected component
Media Library Assistant WordPress plugin<=3.35

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade WordPress plugin: Media Library Assistant to a version that resolves this vulnerability.

    Fixed in 3.35
  2. Configuration

    Change mla_output from 'paginate_links' to a value that does not render mla_link_href into href attributes via _paginate_links(); this avoids the stored XSS path described for mla_link_href in versions up to and including 3.35.

    WordPress plugin: Media Library Assistant mla_output = paginate_links

Event History

Sep 11, 2026
CVE Published
via MITRE·07:39 AM
Data Sourced
via MITRE·07:39 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs an authenticated WordPress account with Contributor-level access or higher. They must be able to place a crafted mla_gallery shortcode on a page.

2

What shortcode configuration is required for exploitation?

The vulnerable path requires the mla_output parameter to be set to paginate_links and a malicious value supplied through the mla_link_href parameter. The value is then emitted into href attributes without proper URL escaping.

3

Who is affected when malicious content has been injected?

Scripts execute when a user accesses a page containing the injected shortcode. This can affect any user who visits that page, not only the contributor who created it.

4

How can I check whether my site is vulnerable?

Check whether the Media Library Assistant plugin version is 3.35 or earlier. Also review pages containing mla_gallery shortcodes for uses of mla_output="paginate_links" and inspect associated mla_link_href values for unexpected or suspicious content.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203