Description
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.
Published: 2026-08-05
Score: 4.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The PrettyLinks plugin for WordPress contains a SQL injection flaw caused by insufficient escaping and lack of query preparation in the search_links_table() function. The flaw allows an authenticated attacker with Administrator or higher privileges to inject arbitrary SQL through the 's' (search) parameter on the Pretty Links listing page. This can be used to read or exfiltrate sensitive database information, compromising data confidentiality.

Affected Systems

The vulnerability affects the supercleanse PrettyLinks plugin, including all versions up to and including 3.6.20. Users running these versions must verify their installation and upgrade to a later release or remove the plugin.

Risk and Exploitability

The CVSS score for this issue is 4.9, indicating a moderate severity. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog, suggesting that public exploitation has not yet been confirmed. Because the flaw requires authenticated Administrators, the attack vector is local but can be triggered remotely once the attacker gains legitimate access. Potential impact is limited to data disclosure rather than code execution or broader system compromise.

Generated by OpenCVE AI on August 5, 2026 at 06:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PrettyLinks to a version newer than 3.6.20
  • If an upgrade is not immediately possible, disable the PrettyLinks plugin until a patch is applied
  • Restrict administrator access to the WordPress site and monitor for anomalous database queries

Generated by OpenCVE AI on August 5, 2026 at 06:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 05:30:00 +0000

Type Values Removed Values Added
Description 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.
Title PrettyLinks <= 3.6.20 - Authenticated (Administrator+) SQL Injection via 's' Parameter
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-05T05:27:38.659Z

Reserved: 2026-03-27T19:00:33.674Z

Link: CVE-2026-5062

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T06:30:03Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')