CVE-2026-6641
mediumThe 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…
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://plugins.trac.wordpress.org/browser/media-library-assistant/tags/3.34/includes/clas... security@wordfence.com
- https://plugins.trac.wordpress.org/browser/media-library-assistant/tags/3.34/includes/clas... security@wordfence.com
- https://plugins.trac.wordpress.org/browser/media-library-assistant/tags/3.34/includes/clas... security@wordfence.com
- https://plugins.trac.wordpress.org/browser/media-library-assistant/trunk/includes/class-ml... security@wordfence.com
- https://plugins.trac.wordpress.org/browser/media-library-assistant/trunk/includes/class-ml... security@wordfence.com
- https://plugins.trac.wordpress.org/browser/media-library-assistant/trunk/includes/class-ml... security@wordfence.com
- https://plugins.trac.wordpress.org/changeset/3512155/ security@wordfence.com
- https://www.wordfence.com/threat-intel/vulnerabilities/id/13602c35-a0f7-4651-af9a-0be9e581... security@wordfence.com
