Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Administrator authentication required (PR:H); browser-based admin page access (AV:N); read-only SQLi yields confidentiality loss only (C:H, I:N, A:N); no scope change.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
Lifecycle Timeline
2DescriptionCVE.org
The PrettyLinks - Affiliate Links, Link Branding, Link Tracking, Marketing and Stripe Payments Plugin plugin for WordPress is vulnerable to SQL Injection via the 's' (search) parameter on the Pretty Links listing page in all versions up to, and including, 3.6.20. This is due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query in the search_links_table() function. 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.
AnalysisAI
SQL injection in the PrettyLinks WordPress plugin (all versions through 3.6.20) enables authenticated administrators to extract arbitrary data from the underlying WordPress database by appending malicious SQL to the 's' search parameter on the Pretty Links listing page. The root cause is insufficient input escaping and absent prepared-statement usage in the search_links_table() function within PrliLinksController.php. No public exploit has been identified at time of analysis and no CISA KEV listing exists, but the CVSS confidentiality impact is rated High, meaning successful exploitation could expose all data stored in the WordPress database.
Technical ContextAI
PrettyLinks is a WordPress affiliate link management, URL shortening, and tracking plugin published by Supercleanse (CPE: cpe:2.3:a:supercleanse:prettylinks_-_affiliate_link_management,_url_shortener,_link_cloaking,_tracking_&_branded_short_links:*:*:*:*:*:*:*:*). The flaw is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). Specifically, the search_links_table() function in app/controllers/PrliLinksController.php at lines 1047 and 1051 passes the raw user-supplied s parameter directly into a SQL query without escaping or binding it as a prepared statement parameter. WordPress plugins are expected to use $wpdb->prepare() or equivalent sanitization before interpolating input into queries against the MySQL/MariaDB backend; the absence of this practice here is the root cause. The affected functionality is the search input on the Pretty Links admin listing page, making it reachable only through the WordPress admin dashboard.
RemediationAI
A patch has been committed to the PrettyLinks plugin trunk repository (changeset 3493031 versus old 3444399, viewable at https://plugins.trac.wordpress.org/changeset?reponame=&new=3493031%40pretty-link%2Ftrunk&old=3444399%40pretty-link%2Ftrunk); however, the exact released patched version number is not independently confirmed from the available data - administrators should update to the latest available version of PrettyLinks via the WordPress plugin dashboard and verify the installed version exceeds 3.6.20. As a compensating control prior to patching, restrict WordPress Administrator role assignments to the minimum necessary personnel, as exploitation is entirely gated on administrator authentication. Enabling two-factor authentication on all WordPress administrator accounts reduces the risk that a credential compromise leads to exploitation. In managed or multisite WordPress environments, review whether any third-party administrators or agency accounts hold unnecessary admin-level access, and consider temporarily disabling the PrettyLinks search functionality via a WAF rule blocking requests to the Pretty Links listing page with a non-empty s parameter if immediate patching is not feasible.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-53034
GHSA-r28m-4r72-h337