Categories: Wordpress

WordPress Visitor statistics Plugin found Vulnerable to SQL Injection

An SQL Injection vulnerability discovered in one of the famous WordPress plugin WP Statistics, which is used by more than 300,000+ websites.

This plugin is used to find the visitor statistics and provide the graphical representation. The plugin is very useful for every webmaster.

SQL Injection Vulnerability

SQL injection is a technique which attacker takes non-validated input vulnerabilities and inject SQL commands through web applications that are executed in the backend database. You get more details on SQL Injection here.

Also read WordPress Download Manager Plugin Vulnerable to Cross-Site Scripting attack

This vulnerability discovered by Securi it is caused by the absence of sanitization in user-provided data and the vulnerability resides with wp_statistics_searchengine_query() in file functions.php, which is an AJAX functionality.

Securi experts from Securi discovered the function doesn’t check for additional
privileges, allowing subscribers to execute this shortcode and inject malicious
data to its attributes.

wpstatistics are being passed as parameters for important functions and this shouldn’t be an issue if those parameters were sanitized.

Mitigation

Wpstatistics resolved the issue and released a fix for SQL Injection vulnerability with the version (12.0.8). Users are recommended to update as soon as possible.

How to Update

You can update from Dashboard >> Updates >> Update Now OR through Plugins >> Installed plugins >> Update.

Also read How to Do Penetration testing with your WordPress website detailed Explanation

Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Cisco Nexus Vulnerability Allows Attackers to Inject Malicious Commands

Cisco Systems has issued a critical security advisory for a newly disclosed command injection vulnerability…

2 hours ago

New Wi-Fi Jamming Attack Can Disable Specific Devices

A newly discovered Wi-Fi jamming technique enables attackers to selectively disconnect individual devices from networks…

2 hours ago

GitLab Vulnerabilities Allow Attackers to Bypass Security and Run Arbitrary Scripts

GitLab has urgently released security updates to address multiple high-severity vulnerabilities in its platform that…

4 hours ago

LibreOffice Flaws Allow Attackers to Run Malicious Files on Windows

A high-severity security vulnerability (CVE-2025-0514) in LibreOffice, the widely used open-source office suite, has been…

5 hours ago

Cisco Nexus Switch Vulnerability Allows Attackers to Cause DoS

Cisco Systems has disclosed a high-severity vulnerability (CVE-2025-20111) in its Nexus 3000 and 9000 Series…

5 hours ago

Silver Fox APT Hackers Target Healthcare Services to Steal Sensitive Data

A sophisticated cyber campaign orchestrated by the Chinese Advanced Persistent Threat (APT) group, Silver Fox,…

14 hours ago