Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12824: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in tharkun69 Player Leaderboard

0
High
VulnerabilityCVE-2025-12824cvecve-2025-12824cwe-22
Published: Fri Dec 12 2025 (12/12/2025, 03:20:44 UTC)
Source: CVE Database V5
Vendor/Project: tharkun69
Product: Player Leaderboard

Description

The Player Leaderboard plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 1.0.2 via the 'player_leaderboard' shortcode. This is due to the plugin using an unsanitized user-supplied value from the shortcode's 'mode' attribute in a call to include() without proper path validation. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary PHP files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve full remote code execution if combined with file upload capabilities.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 21:11:55 UTC

Technical Analysis

The Player Leaderboard plugin for WordPress, developed by tharkun69, suffers from a critical path traversal vulnerability identified as CVE-2025-12824. This vulnerability is due to improper limitation of a pathname to a restricted directory (CWE-22) in all versions up to and including 1.0.2. Specifically, the plugin uses the 'mode' attribute from the 'player_leaderboard' shortcode without proper sanitization or validation before passing it to a PHP include() function. Because include() executes PHP code from the specified file, an attacker with Contributor-level or higher privileges can manipulate the 'mode' parameter to include arbitrary files on the server. This Local File Inclusion (LFI) can lead to execution of arbitrary PHP code if the attacker can upload malicious files or leverage existing files containing executable code. The vulnerability does not require user interaction beyond authentication, and the attack vector is network-based with low complexity. The CVSS 3.1 score is 8.8 (high), reflecting the ease of exploitation and the significant impact on confidentiality, integrity, and availability. Although no known exploits are currently in the wild, the flaw poses a serious risk to WordPress sites using this plugin. The vulnerability allows attackers to bypass access controls, read sensitive files, and potentially achieve full remote code execution, which could lead to complete server compromise.

Potential Impact

The impact of CVE-2025-12824 is substantial for organizations running WordPress sites with the vulnerable Player Leaderboard plugin. Attackers with Contributor-level access can exploit this flaw to execute arbitrary PHP code, potentially leading to full remote code execution. This compromises the confidentiality of sensitive data stored on the server, including user information and configuration files. Integrity is at risk as attackers can modify files or inject malicious code, while availability may be disrupted through server manipulation or denial-of-service conditions. The vulnerability also enables bypassing of access controls, allowing privilege escalation and lateral movement within the affected environment. Organizations relying on this plugin for community engagement or gamification features face increased risk of website defacement, data breaches, and persistent backdoors. Given WordPress’s widespread use, the threat could affect a large number of websites, especially those with multiple contributors or editors. The absence of public exploits currently provides a window for remediation, but the high severity score indicates urgent action is necessary to prevent exploitation.

Mitigation Recommendations

To mitigate CVE-2025-12824, organizations should immediately update the Player Leaderboard plugin to a patched version once available. In the absence of an official patch, administrators should disable or remove the plugin to eliminate the attack surface. Restrict Contributor-level user permissions by reviewing and tightening role capabilities to prevent unauthorized shortcode usage. Implement Web Application Firewall (WAF) rules to detect and block suspicious requests containing path traversal patterns in shortcode parameters. Conduct code audits to ensure all user inputs passed to include() or similar functions are properly sanitized and validated against a whitelist of allowed paths. Monitor server logs for unusual file inclusion attempts or PHP errors indicative of exploitation attempts. Additionally, enforce strict file upload controls and scan uploaded files for malicious content to prevent attackers from leveraging file uploads for remote code execution. Regular backups and incident response plans should be in place to recover quickly if exploitation occurs.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-11-06T19:06:04.782Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 693b9182650da22753edbadb

Added to database: 12/12/2025, 3:52:34 AM

Last enriched: 2/27/2026, 9:11:55 PM

Last updated: 3/26/2026, 3:31:44 AM

Views: 70

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses