# CVE-2026-5062: PrettyLinks <= 3.6.20 - Authenticated (Administrator+) SQL Injection via 's' Parameter

- Severity: Medium 4.9 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 30% of CVEs (2026-11-30)
- Published: 2026-08-05T05:27:38.659Z
- Modified: 2026-08-12T21:00:37.147Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- supercleanse PrettyLinks – Affiliate Link Management, URL Shortener, Link Cloaking, Tracking & Branded Short Links: up to 3.6.20

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/a2399535-c293-4b06-8ef4-1706bbe12bf7?source=cve>
- <https://plugins.trac.wordpress.org/browser/pretty-link/tags/3.6.20/app/controllers/PrliLinksController.php#L1047>
- <https://plugins.trac.wordpress.org/browser/pretty-link/tags/3.6.20/app/controllers/PrliLinksController.php#L1051>
- <https://plugins.trac.wordpress.org/changeset?reponame=&new=3493031%40pretty-link%2Ftrunk&old=3444399%40pretty-link%2Ftrunk>

## Sources

- CVE List: [CVE-2026-5062](https://www.cve.org/CVERecord?id=CVE-2026-5062), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-5062](https://nvd.nist.gov/vuln/detail/CVE-2026-5062), Public domain, modified 2026-08-12

---

Page: https://cve.day/CVE-2026-5062 · Whole record: https://cve.day/CVE-2026-5062.json · Rebuilt by cve.day 2026-11-25T22:59:31.045Z
