CVE-2025-13138: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in listingthemes WP Directory Kit
The WP Directory Kit plugin for WordPress is vulnerable to SQL Injection via the 'columns_search' parameter of the select_2_ajax() function in all versions up to, and including, 1.4.3 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.
AI Analysis
Technical Summary
CVE-2025-13138 identifies a critical SQL Injection vulnerability in the WP Directory Kit plugin for WordPress, specifically in the select_2_ajax() function. The vulnerability arises from improper neutralization of special elements in the 'columns_search' parameter, which is directly incorporated into SQL queries without adequate escaping or parameterization. This flaw allows unauthenticated remote attackers to append arbitrary SQL commands to existing queries, enabling them to extract sensitive information from the backend database. The vulnerability affects all versions up to and including 1.4.3. The CVSS 3.1 base score is 7.5, reflecting network attack vector, low attack complexity, no privileges required, and no user interaction needed. The impact is limited to confidentiality, with no direct integrity or availability effects reported. No patches have been released at the time of publication, and no known exploits are currently observed in the wild. However, the vulnerability's nature and accessibility make it a prime target for attackers seeking to harvest sensitive data from vulnerable WordPress sites. The plugin's widespread use in WordPress ecosystems increases the attack surface, necessitating urgent attention from site administrators and security teams.
Potential Impact
The primary impact of this vulnerability is unauthorized disclosure of sensitive information stored in the WordPress site's database. Attackers exploiting this flaw can retrieve data such as user credentials, personal information, or configuration details, potentially leading to further compromise or data breaches. Since the vulnerability does not require authentication or user interaction, it can be exploited remotely and at scale, increasing the risk to organizations globally. While the vulnerability does not directly affect data integrity or availability, the exposure of confidential data can have severe reputational, legal, and operational consequences. Organizations relying on WP Directory Kit for directory listings or related functionalities face increased risk of data leakage, especially if sensitive or regulated data is stored. The lack of a patch at the time of disclosure further exacerbates the risk, as attackers may develop exploits to target unpatched systems. This vulnerability also undermines trust in affected websites and can be leveraged as a foothold for subsequent attacks.
Mitigation Recommendations
1. Immediate mitigation involves restricting access to the vulnerable select_2_ajax() endpoint by implementing IP whitelisting or authentication requirements via web server or application-level controls. 2. Deploy a Web Application Firewall (WAF) with robust SQL Injection detection and prevention rules to block malicious payloads targeting the 'columns_search' parameter. 3. Monitor web server and application logs for suspicious query patterns indicative of SQL Injection attempts. 4. Engage with the plugin vendor or community to obtain or develop a patch that properly sanitizes and parameterizes the 'columns_search' input, replacing direct SQL concatenation with prepared statements. 5. Until a patch is available, consider disabling or removing the WP Directory Kit plugin if it is not critical to site functionality. 6. Conduct a thorough security audit of the WordPress environment to identify any signs of compromise or data exfiltration. 7. Educate site administrators on the risks of using outdated plugins and the importance of timely updates. 8. Implement database access controls to limit the scope of data exposure in case of exploitation.
Affected Countries
United States, United Kingdom, Germany, Canada, Australia, France, Netherlands, India, Brazil, Japan
CVE-2025-13138: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in listingthemes WP Directory Kit
Description
The WP Directory Kit plugin for WordPress is vulnerable to SQL Injection via the 'columns_search' parameter of the select_2_ajax() function in all versions up to, and including, 1.4.3 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-13138 identifies a critical SQL Injection vulnerability in the WP Directory Kit plugin for WordPress, specifically in the select_2_ajax() function. The vulnerability arises from improper neutralization of special elements in the 'columns_search' parameter, which is directly incorporated into SQL queries without adequate escaping or parameterization. This flaw allows unauthenticated remote attackers to append arbitrary SQL commands to existing queries, enabling them to extract sensitive information from the backend database. The vulnerability affects all versions up to and including 1.4.3. The CVSS 3.1 base score is 7.5, reflecting network attack vector, low attack complexity, no privileges required, and no user interaction needed. The impact is limited to confidentiality, with no direct integrity or availability effects reported. No patches have been released at the time of publication, and no known exploits are currently observed in the wild. However, the vulnerability's nature and accessibility make it a prime target for attackers seeking to harvest sensitive data from vulnerable WordPress sites. The plugin's widespread use in WordPress ecosystems increases the attack surface, necessitating urgent attention from site administrators and security teams.
Potential Impact
The primary impact of this vulnerability is unauthorized disclosure of sensitive information stored in the WordPress site's database. Attackers exploiting this flaw can retrieve data such as user credentials, personal information, or configuration details, potentially leading to further compromise or data breaches. Since the vulnerability does not require authentication or user interaction, it can be exploited remotely and at scale, increasing the risk to organizations globally. While the vulnerability does not directly affect data integrity or availability, the exposure of confidential data can have severe reputational, legal, and operational consequences. Organizations relying on WP Directory Kit for directory listings or related functionalities face increased risk of data leakage, especially if sensitive or regulated data is stored. The lack of a patch at the time of disclosure further exacerbates the risk, as attackers may develop exploits to target unpatched systems. This vulnerability also undermines trust in affected websites and can be leveraged as a foothold for subsequent attacks.
Mitigation Recommendations
1. Immediate mitigation involves restricting access to the vulnerable select_2_ajax() endpoint by implementing IP whitelisting or authentication requirements via web server or application-level controls. 2. Deploy a Web Application Firewall (WAF) with robust SQL Injection detection and prevention rules to block malicious payloads targeting the 'columns_search' parameter. 3. Monitor web server and application logs for suspicious query patterns indicative of SQL Injection attempts. 4. Engage with the plugin vendor or community to obtain or develop a patch that properly sanitizes and parameterizes the 'columns_search' input, replacing direct SQL concatenation with prepared statements. 5. Until a patch is available, consider disabling or removing the WP Directory Kit plugin if it is not critical to site functionality. 6. Conduct a thorough security audit of the WordPress environment to identify any signs of compromise or data exfiltration. 7. Educate site administrators on the risks of using outdated plugins and the importance of timely updates. 8. Implement database access controls to limit the scope of data exposure in case of exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-11-13T18:46:29.325Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 692032ceb6fc887540a02d53
Added to database: 11/21/2025, 9:37:18 AM
Last enriched: 2/27/2026, 9:33:06 AM
Last updated: 3/24/2026, 10:45:32 AM
Views: 134
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.