CVE-2026-12077: Dokan Pro SQL Injection Vulnerability – Unauthenticated Data Breach Risk
The Dokan Pro WordPress plugin contains a SQL injection flaw in versions up to 5.0.4 that allows unauthenticated attackers to inject malicious SQL commands through latitude and longitude parameters. Because the plugin fails to properly escape and prepare these user-supplied inputs, attackers can craft requests that extract sensitive database information without requiring authentication. This is a high-severity network-based vulnerability with no user interaction needed to trigger the attack.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses (CWE)
- CWE-89
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-25 / 2026-06-29
NVD description (verbatim)
The Dokan Pro plugin for WordPress is vulnerable to time-based SQL Injection via the via 'latitude' and 'longitude' parameters in all versions up to, and including, 5.0.4 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
2 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-12077 is a time-based SQL injection vulnerability in Dokan Pro affecting all versions through 5.0.4. The flaw exists in insufficient escaping of the 'latitude' and 'longitude' parameters combined with improper SQL query preparation. An unauthenticated attacker can bypass input validation to append arbitrary SQL statements to existing queries, enabling data exfiltration from the WordPress database. The vulnerability is classified as CWE-89 (SQL Injection) and carries a CVSS v3.1 score of 7.5 (HIGH) with a network attack vector requiring no privileges or user interaction.
Business impact
Organizations running Dokan Pro-based marketplace platforms face direct risk of confidential data theft, including customer information, transaction records, and database credentials. While the vulnerability does not allow modification or deletion of data (integrity and availability are not impacted per the CVSS vector), the high confidentiality impact means sensitive business intelligence, personal data, and authentication tokens could be exposed. For multi-vendor platforms, this threatens customer trust and may trigger regulatory compliance violations (GDPR, CCPA, etc.). The lack of authentication requirements means any internet-connected instance is immediately exploitable.
Affected systems
Dokan Pro plugin versions up to and including 5.0.4 are vulnerable. This affects WordPress installations that use Dokan Pro for marketplace functionality. The vulnerability is unauthenticated, making any publicly accessible WordPress site running a vulnerable version a potential target. Verify your installed version in wp-content/plugins/dokan-pro/ or check the 'Plugins' admin panel in WordPress. Note: vendor product data was not available in the disclosure; verify your specific Dokan Pro installation version against the official plugin repository.
Exploitability
This is a practical, exploitable vulnerability requiring only network access and HTTP capability—no authentication, no special privileges, no user interaction, and no complex client-side exploitation. Attackers can use time-based blind SQL injection techniques to infer database structure and contents through response timing differences. Publicly available SQL injection testing tools and methodologies apply directly. The absence of KEV (Known Exploited Vulnerability) designation as of the data provided does not reduce the intrinsic exploitability; this is a straightforward injection flaw that security researchers and threat actors can weaponize rapidly.
Remediation
Immediately update Dokan Pro to a version newer than 5.0.4 that includes the security patch. This is the primary remediation. As an interim mitigation, restrict direct internet access to your WordPress installation via Web Application Firewall (WAF) rules that block requests containing SQL keywords or suspicious characters in latitude/longitude parameters. Additionally, implement database-level access controls to limit the database user permissions WordPress uses—principle of least privilege reduces damage from successful injection. Monitor database logs for unusual query patterns.
Patch guidance
Patch availability depends on vendor release cadence; check the official Dokan Pro changelog and your WordPress plugin dashboard for updates newer than 5.0.4. WordPress site administrators should enable automatic plugin updates if permitted by their environment, or manually apply patches immediately upon availability. Test patches in a staging environment first to ensure compatibility with other marketplace extensions and custom configurations. Verify the patched version by reviewing the plugin source code or changelog to confirm the latitude and longitude parameters are now properly escaped and prepared.
Detection guidance
Monitor web server and WordPress access logs for requests containing SQL keywords (UNION, SELECT, WHERE, OR, etc.) in latitude or longitude parameters, particularly those with time-delay functions (SLEEP, BENCHMARK). Look for patterns of multiple similar requests with incrementally varying payload lengths—a hallmark of blind SQL injection reconnaissance. Enable WordPress security logging plugins (e.g., Wordfence) to capture plugin-level activity and failed database queries. Database query logs may show unusual SELECT statements targeting user, option, or postmeta tables when originating from web requests. Implement rate-limiting on the endpoints that accept these parameters.
Why prioritize this
HIGH severity, network-exploitable SQL injection with no authentication barrier makes this a critical priority. The vulnerability enables direct confidential data theft from a central database that likely contains customer PII, payment information, and business records. Time-based injection is moderately slower than boolean-based but still practical; skilled attackers can extract meaningful data within hours. For any Dokan Pro-based e-commerce platform, this should be patched before any other non-security feature work.
Risk score, explained
CVSS 7.5 reflects: (AV:N) network-accessible attack surface with minimal infrastructure; (AC:L) no special conditions or authentication required; (PR:N) completely unauthenticated; (UI:N) no user click or interaction needed; (S:U) impact stays within the vulnerable component; (C:H) high confidentiality loss through data extraction; (I:N) no integrity compromise; (A:N) no availability impact. The score is high—not critical—because attackers cannot modify or delete data, and the vulnerability does not compromise system availability. However, the confidentiality impact alone justifies urgent patching.
Frequently asked questions
Can a Dokan Pro store be exploited without an attacker knowing the database table names?
Yes. Time-based blind SQL injection allows attackers to systematically discover table and column names through conditional delays. They can enumerate the information_schema database or use database-specific metadata queries. This process is slower than direct database access but does not require prior knowledge.
Does updating WordPress core or other plugins automatically protect us from this vulnerability?
No. The vulnerability is specific to Dokan Pro plugin code. You must update the Dokan Pro plugin itself. Updating WordPress core or other plugins does not patch this flaw.
If we cannot patch immediately, what temporary measures reduce our risk?
Implement a WAF rule blocking requests with SQL keywords in geographic parameters; restrict WordPress admin and database access to known IP ranges; lower database user privileges; enable extensive logging; and increase monitoring frequency. These measures reduce risk but do not eliminate it; patching remains essential.
How can we check if our database has already been compromised?
Review database access logs for unusual queries predating the patch. Check WordPress user tables (wp_users, wp_usermeta) for unauthorized admin accounts. Audit option and postmeta tables for suspicious entries. If feasible, query your web server logs for payloads matching SQL injection patterns. Consider professional forensic analysis if a breach is suspected.
This analysis is provided for informational purposes to help security teams understand and remediate this vulnerability. It is not a substitute for professional security advice or vendor guidance. Always verify patch availability and compatibility in your specific environment before deployment. SEC.co does not host or provide exploit code. Unauthorized access to computer systems is illegal; this information is intended only for authorized security testing and incident response on systems you own or manage. Source: NVD (public-domain), retrieved 2026-08-02. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2016-20062HIGHSQL Injection in Simply Poll 1.4.1 WordPress Plugin - Unauthenticated Data Theft
- CVE-2016-20063HIGHSQL Injection in Single Personal Message 1.0.3 – Credential & Data Theft Risk
- CVE-2016-20065HIGHUnauthenticated SQL Injection in Product Catalog 8 WordPress Plugin
- CVE-2016-20068HIGHUnauthenticated SQL Injection in WordPress Booking Calendar Contact Form 1.0.23
- CVE-2016-20069HIGHUnauthenticated SQL Injection in WordPress Booking Calendar Contact Form 1.0.23
- CVE-2016-20071HIGHCritical SQL Injection in WordPress 404 Redirection Manager Plugin v1.0
- CVE-2016-20072HIGHBBS e-Franchise WordPress Plugin SQL Injection – Remote Data Exfiltration Risk
- CVE-2016-20073HIGHSQL Injection in Answer My Question 1.3 WordPress Plugin