Skip to main content

PrettyLinks Plugin EUVDEUVD-2026-53034

| CVE-2026-5062 MEDIUM
SQL Injection (CWE-89)
2026-08-05 Wordfence GHSA-r28m-4r72-h337
4.9
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain WordPress Administrator credentials
  2. Delivery
    Authenticate to WordPress admin dashboard
  3. Exploit
    Navigate to Pretty Links listing page
  4. Execution
    Inject SQL payload into 's' search parameter
  5. Persist
    Append UNION or blind SQLi clauses to search_links_table() query
  6. Impact
    Extract 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 s (search) parameter submitted to the search_links_table() function during a search operation on the plugin's admin listing page. Exploitation is entirely blocked for unauthenticated users. In single-site WordPress deployments where administrators already have wp-config.php access, the practical database access uplift is minimal. In managed hosting, WordPress-as-a-Service, or multisite environments where admin roles are granted without direct database credentials, the exploitation conditions represent a meaningful privilege boundary and the risk is correspondingly higher.

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 s search parameter, appending a UNION-based or time-based blind injection payload to the search_links_table() query, enabling extraction of WordPress user password hashes, email addresses, or other sensitive database content. No public exploit code has been identified at time of analysis, but the injection point is straightforward to locate and the technique requires no specialized tooling beyond a standard SQLi framework.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

PrettyLinks – Affiliate Link Management, URL Shortener, Link Cloaking, Tracking & Branded Short Links 0 ≤3.6.20

Affected Packages

euvd prettylinks_affiliate_link_management_url_shortener_link_cloaking_tracking_branded_short_links no fix

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

Vendor (Wordfence) PRIMARY 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 4.9 MEDIUM

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Medium
popular WordPress affiliate/link management plugin, not universally deployed
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy