CVE-2026-6642: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in dglingren Media Library Assistant
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.
AI Analysis
Technical Summary
CVE-2026-6642 is a stored cross-site scripting vulnerability in the Media Library Assistant plugin for WordPress, affecting versions up to and including 3.35. The issue occurs in the bulk edit preset export/import mechanism due to insufficient output escaping of preset field values in HTML attribute contexts within the mla_generate_bulk_edit_form_fieldsets() function and mla-bulk-edit-fieldsets.tpl template. Although wp_kses() filtering is applied during export for users without unfiltered_html capability, it does not prevent injection of quotes and HTML attributes used in the attack payload. When presets are imported, these values are assigned directly to template variables without esc_attr() escaping and inserted into input element value attributes via string replacement. Authenticated attackers with Author-level privileges (upload_files capability) can exploit this to inject arbitrary scripts that execute upon import and focus on the input field.
Potential Impact
An attacker with Author-level access or higher can inject malicious JavaScript into the bulk edit preset import process. This script executes when an administrator imports the crafted preset and focuses on the affected input field, potentially leading to session hijacking, privilege escalation, or other malicious actions within the WordPress admin context. The vulnerability impacts confidentiality and integrity but does not affect availability.
Mitigation Recommendations
No official patch or fix is currently confirmed for this vulnerability. Users should monitor the vendor's advisory for updates. Until a fix is available, restrict Author-level user capabilities where possible and avoid importing bulk edit presets from untrusted sources. Administrators should exercise caution when importing presets and consider limiting plugin usage to trusted users only.
CVE-2026-6642: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in dglingren Media Library Assistant
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.
CVSS v3.1
Score 6.4medium
Affected software
dglingren
Media Library Assistant
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-6642 is a stored cross-site scripting vulnerability in the Media Library Assistant plugin for WordPress, affecting versions up to and including 3.35. The issue occurs in the bulk edit preset export/import mechanism due to insufficient output escaping of preset field values in HTML attribute contexts within the mla_generate_bulk_edit_form_fieldsets() function and mla-bulk-edit-fieldsets.tpl template. Although wp_kses() filtering is applied during export for users without unfiltered_html capability, it does not prevent injection of quotes and HTML attributes used in the attack payload. When presets are imported, these values are assigned directly to template variables without esc_attr() escaping and inserted into input element value attributes via string replacement. Authenticated attackers with Author-level privileges (upload_files capability) can exploit this to inject arbitrary scripts that execute upon import and focus on the input field.
Potential Impact
An attacker with Author-level access or higher can inject malicious JavaScript into the bulk edit preset import process. This script executes when an administrator imports the crafted preset and focuses on the affected input field, potentially leading to session hijacking, privilege escalation, or other malicious actions within the WordPress admin context. The vulnerability impacts confidentiality and integrity but does not affect availability.
Mitigation Recommendations
No official patch or fix is currently confirmed for this vulnerability. Users should monitor the vendor's advisory for updates. Until a fix is available, restrict Author-level user capabilities where possible and avoid importing bulk edit presets from untrusted sources. Administrators should exercise caution when importing presets and consider limiting plugin usage to trusted users only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-04-19T22:17:10.138Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aa3b22791cc7f3848db2534
Added to database: 09/11/2026, 07:47:51 UTC
Last enriched: 09/11/2026, 08:03:05 UTC
Last updated: 09/11/2026, 22:06:34 UTC
Views: 15
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.