CVE-2025-13390: CWE-303 Incorrect Implementation of Authentication Algorithm in listingthemes WP Directory Kit
The WP Directory Kit plugin for WordPress is vulnerable to authentication bypass in all versions up to, and including, 1.4.4 due to incorrect implementation of the authentication algorithm in the "wdk_generate_auto_login_link" function. This is due to the feature using a cryptographically weak token generation mechanism. This makes it possible for unauthenticated attackers to gain administrative access and achieve full site takeover via the auto-login endpoint with a predictable token.
AI Analysis
Technical Summary
CVE-2025-13390 identifies a critical vulnerability in the WP Directory Kit plugin for WordPress, specifically in versions up to and including 1.4.4. The vulnerability stems from an incorrect implementation of the authentication algorithm within the wdk_generate_auto_login_link function. This function generates auto-login tokens intended to allow users to log in without entering credentials. However, the token generation mechanism is cryptographically weak and predictable, which violates secure authentication principles (CWE-303). As a result, an unauthenticated attacker can craft valid tokens to bypass authentication controls entirely. This bypass grants administrative privileges, enabling full site takeover. The vulnerability is remotely exploitable over the network without requiring any prior authentication or user interaction. The CVSS v3.1 base score is 10.0, indicating critical severity, with attack vector network (AV:N), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), scope changed (S:C), and high impact on confidentiality, integrity, and availability (C:H/I:H/A:H). No patches or exploits in the wild are currently reported, but the risk is substantial given the ease of exploitation and potential damage. The vulnerability affects the listingthemes vendor's WP Directory Kit plugin, which is used to manage directories on WordPress sites.
Potential Impact
The impact of CVE-2025-13390 is severe for organizations using the WP Directory Kit plugin. Successful exploitation results in complete administrative access to the WordPress site, allowing attackers to modify content, steal sensitive data, install backdoors, or disrupt site availability. This compromises the confidentiality, integrity, and availability of the affected websites. For businesses relying on WordPress for e-commerce, customer engagement, or content delivery, such a compromise can lead to financial losses, reputational damage, and regulatory penalties. The vulnerability's ease of exploitation and lack of required authentication mean attackers can rapidly compromise vulnerable sites at scale. Additionally, compromised sites can be used as platforms for further attacks, including phishing, malware distribution, or lateral movement within corporate networks. The widespread use of WordPress globally amplifies the potential impact, especially for organizations that have not applied security best practices or timely updates.
Mitigation Recommendations
To mitigate CVE-2025-13390, organizations should immediately update the WP Directory Kit plugin to a version that addresses this vulnerability once released by the vendor. In the absence of an official patch, administrators should disable or restrict access to the auto-login feature, particularly the endpoint that generates or accepts the auto-login tokens. Implementing web application firewall (WAF) rules to detect and block suspicious requests targeting the auto-login endpoint can provide temporary protection. Monitoring logs for unusual access patterns or repeated token generation attempts is also recommended. Additionally, enforcing multi-factor authentication (MFA) on administrative accounts can reduce the risk of unauthorized access even if token prediction occurs. Regularly auditing installed plugins and removing unused or unsupported ones will minimize attack surface. Finally, organizations should maintain comprehensive backups and incident response plans to recover quickly from potential compromises.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, India, Brazil, Netherlands, Japan, South Korea, Italy
CVE-2025-13390: CWE-303 Incorrect Implementation of Authentication Algorithm in listingthemes WP Directory Kit
Description
The WP Directory Kit plugin for WordPress is vulnerable to authentication bypass in all versions up to, and including, 1.4.4 due to incorrect implementation of the authentication algorithm in the "wdk_generate_auto_login_link" function. This is due to the feature using a cryptographically weak token generation mechanism. This makes it possible for unauthenticated attackers to gain administrative access and achieve full site takeover via the auto-login endpoint with a predictable token.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-13390 identifies a critical vulnerability in the WP Directory Kit plugin for WordPress, specifically in versions up to and including 1.4.4. The vulnerability stems from an incorrect implementation of the authentication algorithm within the wdk_generate_auto_login_link function. This function generates auto-login tokens intended to allow users to log in without entering credentials. However, the token generation mechanism is cryptographically weak and predictable, which violates secure authentication principles (CWE-303). As a result, an unauthenticated attacker can craft valid tokens to bypass authentication controls entirely. This bypass grants administrative privileges, enabling full site takeover. The vulnerability is remotely exploitable over the network without requiring any prior authentication or user interaction. The CVSS v3.1 base score is 10.0, indicating critical severity, with attack vector network (AV:N), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), scope changed (S:C), and high impact on confidentiality, integrity, and availability (C:H/I:H/A:H). No patches or exploits in the wild are currently reported, but the risk is substantial given the ease of exploitation and potential damage. The vulnerability affects the listingthemes vendor's WP Directory Kit plugin, which is used to manage directories on WordPress sites.
Potential Impact
The impact of CVE-2025-13390 is severe for organizations using the WP Directory Kit plugin. Successful exploitation results in complete administrative access to the WordPress site, allowing attackers to modify content, steal sensitive data, install backdoors, or disrupt site availability. This compromises the confidentiality, integrity, and availability of the affected websites. For businesses relying on WordPress for e-commerce, customer engagement, or content delivery, such a compromise can lead to financial losses, reputational damage, and regulatory penalties. The vulnerability's ease of exploitation and lack of required authentication mean attackers can rapidly compromise vulnerable sites at scale. Additionally, compromised sites can be used as platforms for further attacks, including phishing, malware distribution, or lateral movement within corporate networks. The widespread use of WordPress globally amplifies the potential impact, especially for organizations that have not applied security best practices or timely updates.
Mitigation Recommendations
To mitigate CVE-2025-13390, organizations should immediately update the WP Directory Kit plugin to a version that addresses this vulnerability once released by the vendor. In the absence of an official patch, administrators should disable or restrict access to the auto-login feature, particularly the endpoint that generates or accepts the auto-login tokens. Implementing web application firewall (WAF) rules to detect and block suspicious requests targeting the auto-login endpoint can provide temporary protection. Monitoring logs for unusual access patterns or repeated token generation attempts is also recommended. Additionally, enforcing multi-factor authentication (MFA) on administrative accounts can reduce the risk of unauthorized access even if token prediction occurs. Regularly auditing installed plugins and removing unused or unsupported ones will minimize attack surface. Finally, organizations should maintain comprehensive backups and incident response plans to recover quickly from potential compromises.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-11-18T21:50:03.589Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6930444551392e1c8b19b53f
Added to database: 12/3/2025, 2:08:05 PM
Last enriched: 2/27/2026, 9:49:23 AM
Last updated: 3/25/2026, 3:17:00 PM
Views: 230
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.