# Media Library Assistant <= 3.42 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'mla_link_href' Shortcode Attribute

- **ID:** WPSEC-2026-1565
- **Plugin:** Media Library Assistant (`media-library-assistant`), https://wordpress.org/plugins/media-library-assistant/
- **Affected versions:** all versions before 3.43
- **Fixed in:** 3.43 (Update to 3.43 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-10-23)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/media-library-assistant
- **Fix released:** 2026-10-22
- **Published:** 2026-10-23
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1565/

## Description

The Media Library Assistant plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'mla_link_href' shortcode attribute in all versions up to, and including, 3.42 due to insufficient output escaping, particularly in the pagination shortcode output where the value was placed into an href attribute without any escaping. 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.

## References

- https://wpsec.com/vuln/WPSEC-2026-1565/
- https://plugins.svn.wordpress.org/media-library-assistant/tags/3.43/
- https://wordpress.org/plugins/media-library-assistant/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1565/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
