Description
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.
Published: 2026-09-11
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting that allows arbitrary script execution in administrator sessions
Action: Immediate Patch
AI Analysis

Impact

The Media Library Assistant plugin for WordPress gains a Stored Cross‑Site Scripting flaw through the bulk edit preset export and import process in versions up through 3.35. During export, payloads containing quotes and HTML attribute fragments bypass WordPress’s wp_kses() filter because they do not form full tags. When an administrator later imports the same preset, the plugin injects the raw preset values directly into input value attributes without esc_attr() escaping, causing the malicious script to run in the administrator’s browser when the input field receives focus.

Affected Systems

Any WordPress installation running Media Library provided a user with Author or higher capability (e.g., upload_files capability) can create and export preset data. The flaw is only exploitable by authorized users who subsequently trigger the import with an administrator’s session.

Risk and Exploitability

The vulnerability carries a CVSS score of 6.4, reflecting moderate severity. No EPSS value is available, so the exploitation probability is not quantified. The flaw is not listed in the CISA KEV catalog. Attackers need authenticated access with at least Author privileges to craft and export a malicious preset and then rely on an administrator to import it; the payload executes inside the admin interface, potentially allowing for data theft or defacement of the site.

Generated by OpenCVE AI on September 11, 2026 at 08:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Media Library Assistant to a version newer than 3.35 where the attribute escaping bug is fixed.
  • If an upgrade cannot be performed immediately, do not use the bulk edit preset export/import feature with users who have Author or higher capability; limit preset management to trusted administrators or manually sanitize preset data before import.
  • Disable the bulk edit preset import/export functionality or restrict it to administrators only, and delete any suspicious preset entries that may contain attacker‑controlled content.

Generated by OpenCVE AI on September 11, 2026 at 08:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 11 Sep 2026 07:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Media Library Assistant <= 3.35 - Authenticated (Author+) Stored Cross-Site Scripting via Bulk Edit Preset Export/Import
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-11T07:39:07.110Z

Reserved: 2026-04-19T22:17:10.138Z

Link: CVE-2026-6642

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-11T08:16:48.007

Modified: 2026-09-11T13:24:07.133

Link: CVE-2026-6642

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-11T08:30:11Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')