CVE-2026-6640: Media Library Assistant <= 3.35 - Authenticated (Contributor+) Stored Cross-Site Scripting via mla_link_attributes Parameter
The Media Library Assistant plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'mlalinkattributes' parameter in all versions up to, and including, 3.35 due to insufficient input sanitization and output 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
WordPress plugin: Media Library Assistantto a version that resolves this vulnerability.Fixed in 3.35 - Configuration
Remove/clear any existing malicious values for the 'mla_link_attributes' parameter and ensure the plugin is configured/updated so that inputs for 'mla_link_attributes' are properly sanitized and outputs are properly escaped.
WordPress plugin: Media Library Assistant mla_link_attributes parameter = sanitized/escaped to prevent stored XSS (disable or remove any injected content from the parameter)
Event History
Frequently Asked Questions
What level of access does an attacker need?
An attacker must be authenticated with Contributor-level access or higher. The attack has low complexity and does not require user interaction from the attacker.
Who is exposed to the injected script?
Any user who accesses a page containing the attacker-injected content may execute the stored script in their browser. The vulnerability can affect confidentiality and integrity, with scope changed.
Which installations are affected?
Media Library Assistant versions up to and including 3.35 are affected.