CVE-2026-6642
The Media Library Assistant plugin for WordPress is vulnerable to …
The Media Library Assistant plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the bulk edit preset export/import mechanism in versions up to and including 3.35. This is due to insufficient output escaping on preset field values when they are rendered in HTML attribute contexts in the mla_generate_bulk_edit_form_fieldsets() function and mla-bulk-edit-fieldsets.tpl template. While wp_kses() filtering is applied during preset export for users without unfiltered_html capability, this does not prevent attribute injection attacks since the malicious payload consists of quotes and HTML attributes rather than HTML tags. When preset values are retrieved and rendered, they are directly assigned to template variables without esc_attr() escaping and then inserted into input element value attributes via simple string replacement. This makes it possible for authenticated attackers, with Author-level access and above (upload_files capability), to inject arbitrary web scripts that execute when an administrator imports the poisoned preset and the targeted input field receives focus.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/browser/media-library-assistant/tags/3.35/includes/class-mla-aj
- plugins.trac.wordpress.org/browser/media-library-assistant/tags/3.35/includes/class-mla-ed
- plugins.trac.wordpress.org/browser/media-library-assistant/tags/3.35/tpls/mla-bulk-edit-fi
- plugins.trac.wordpress.org/browser/media-library-assistant/trunk/includes/class-mla-ajax.p
- plugins.trac.wordpress.org/browser/media-library-assistant/trunk/includes/class-mla-edit-m
- plugins.trac.wordpress.org/browser/media-library-assistant/trunk/tpls/mla-bulk-edit-fields
- plugins.trac.wordpress.org/changeset/3512155/
- www.wordfence.com/threat-intel/vulnerabilities/id/6e45dc8a-b777-4a49-b1b1-c59ffa75f5b4?sou
- nvd.nist.gov/vuln/detail/CVE-2026-6642
- cve.org/CVERecord?id=CVE-2026-6642
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.