CVE-2025-28959
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-28959 is an unauthenticated SQL Injection vulnerability in the "URL Shortener" WordPress plugin (slug: exact-links) developed by Md Yeasin Ul Haider. It affects all versions up to and including 3.0.7, with no official patch available as of the disclosure date. The vulnerability was reported by researcher ch4r0n on June 2, 2025, and published by Patchstack on July 11, 2025; it was assigned a CVE on July 16, 2025. It carries a CVSS v3.1 base score of 9.3 (Critical) (Patchstack, EUVD).

Technical details

The vulnerability is classified as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) and stems from insufficient sanitization of user-supplied input before it is incorporated into SQL queries within the plugin. Because exploitation requires no authentication (unauthenticated attack vector) and no user interaction, an attacker can send crafted HTTP requests directly to the affected WordPress site to manipulate backend database queries. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L) indicates network-based exploitation with changed scope, high confidentiality impact, and low availability impact (Patchstack, Red Hat CVE).

Impact

Successful exploitation allows an unauthenticated remote attacker to execute arbitrary SQL commands against the WordPress site's database, potentially exposing sensitive data such as user credentials, personal information, and site configuration. The changed scope in the CVSS vector indicates the impact can extend beyond the plugin itself to the broader database system. Additionally, depending on database server configuration, attackers may be able to read or write files on the server, escalating impact beyond data theft (Patchstack).

Exploitability

No public proof-of-concept exploit code has been identified, and there is no confirmed evidence of in-the-wild exploitation at this time (Patchstack). The EPSS score is approximately 0.028% (0.000280), indicating a currently low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, Patchstack classifies it as high priority and notes that vulnerabilities of this type are frequently used in mass-exploit campaigns targeting WordPress sites at scale.

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the "URL Shortener" (exact-links) plugin version ≤ 3.0.7 using tools like WPScan, Shodan, or Google dorks (e.g., inurl:/wp-content/plugins/exact-links/).
  2. Identify injectable parameter: Probe the plugin's publicly accessible endpoints or shortlink-handling functionality for parameters that are passed unsanitized to SQL queries.
  3. Craft SQL injection payload: Construct a malicious HTTP request containing SQL injection syntax (e.g., ' OR 1=1--, UNION-based, or time-based blind payloads) targeting the vulnerable parameter.
  4. Extract database contents: Use automated tools such as sqlmap to enumerate databases, tables, and extract sensitive data including WordPress wp_users table (usernames and hashed passwords).
  5. Escalate access: Crack extracted password hashes offline or use extracted admin credentials to log into the WordPress dashboard, enabling full site takeover (Patchstack).

Indicators of compromise

  • Network: Unusual HTTP requests to WordPress endpoints associated with the exact-links plugin containing SQL metacharacters (', --, UNION, SELECT, OR 1=1) in query parameters or POST body.
  • Logs: WordPress or web server access logs showing repeated requests to plugin-related URLs with encoded or obfuscated SQL payloads; anomalous database error messages in PHP/WordPress debug logs.
  • Database: Unexpected queries in database slow query logs or general query logs involving UNION SELECT or time-delay functions (SLEEP(), BENCHMARK()) originating from the web application user.
  • File System: Presence of newly created PHP webshells or backdoor files in the WordPress uploads or plugin directories following a successful attack.

Mitigation and workarounds

As of the disclosure date, no official patch from the plugin developer is available for versions ≤ 3.0.7. Site administrators should remove or deactivate the "URL Shortener" (exact-links) plugin immediately until a patched version is released. Patchstack has issued a virtual patching/mitigation rule for its subscribers to block exploitation attempts in the interim. Additional hardening measures include deploying a Web Application Firewall (WAF) with SQL injection rules, applying least-privilege principles to the WordPress database account, and monitoring database and web server logs for anomalous activity (Patchstack).

Community reactions

Patchstack, which discovered and disclosed the vulnerability through researcher ch4r0n, has flagged it as high priority and noted the potential for mass-exploit campaigns targeting WordPress sites. The vulnerability was also indexed by Red Hat's CVE tracking and the EU Vulnerability Database (EUVD-2025-21601), indicating broad awareness in the security community. No significant vendor statement from the plugin developer or notable social media discussion has been identified beyond standard vulnerability database entries.

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-81648CRITICAL10
  • cryptopayment-gateway
NoNoSep 13, 2026
CVE-2026-88793HIGH8.8
  • youram-youtube-embed
NoNoSep 13, 2026
CVE-2026-85129HIGH8.8
  • hoo-companion
NoNoSep 13, 2026
CVE-2026-88802HIGH7.5
  • mobile-events-manager
NoYesSep 13, 2026
CVE-2026-89050MEDIUM4.3
  • quick-adsense-reloaded
NoYesSep 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management