Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain WordPress Administrator credentials
-
DeliveryAuthenticate to WordPress admin dashboard
-
ExploitNavigate to Pretty Links listing page
-
ExecutionInject SQL payload into 's' search parameter
-
PersistAppend UNION or blind SQLi clauses to search_links_table() query
-
ImpactExtract sensitive records from WordPress database
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an active authenticated WordPress session with Administrator-level privileges or higher - lower roles such as Editor, Author, Contributor, or Subscriber cannot access the Pretty Links listing page that hosts the injection point. The PrettyLinks plugin must be installed and active on the target WordPress site running version 3.6.20 or earlier. The specific injection point is the |
| Impact | The CVSS 3.1 score of 4.9 Medium accurately reflects the constrained real-world risk. The vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N indicates network-reachable exploitation at low complexity but requiring pre-existing Administrator-level authentication, with confidentiality-only impact and no scope change. No EPSS data was provided in the input, no KEV listing is present, and no public POC has been identified, all of which are low-risk signals. Critically, in a standard WordPress single-site deployment, an Administrator already possesses direct access to the database via wp-admin tools and wp-config.php credentials, which substantially reduces the marginal harm this SQLi vector provides beyond what an attacker could already accomplish. The realistic threat scenario is a compromised or rogue admin account exfiltrating data in a manner that may bypass application-level audit logging. Risk is elevated in managed WordPress hosting, multisite environments, or SaaS WordPress platforms where admin roles are granted to partially-trusted operators without full database access - in those contexts this flaw represents a privilege escalation path to raw database reads. |
| Exploit ScenarioDerived | An attacker who has obtained WordPress Administrator credentials - through phishing, credential stuffing, or a separate account-takeover vulnerability - logs into the WordPress admin dashboard and navigates to the Pretty Links listing page. The attacker crafts a request with a malicious SQL fragment in the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
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 AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
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
EUVD-2026-53034
GHSA-r28m-4r72-h337
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB