Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-33965

CVE-2022-33965: WP Visitor Statistics SQLi Vulnerability

CVE-2022-33965 is an unauthenticated SQL injection flaw in WP Visitor Statistics plugin for WordPress that allows attackers to manipulate database queries. This post covers technical details, affected versions, and mitigation.

Published: February 18, 2026

CVE-2022-33965 Overview

CVE-2022-33965 is a critical SQL Injection vulnerability affecting the WP Visitor Statistics plugin for WordPress. Multiple unauthenticated SQL Injection (SQLi) vulnerabilities exist in versions 5.7 and earlier of the Osamaesh WP Visitor Statistics plugin. This vulnerability allows remote attackers to execute arbitrary SQL commands against the WordPress database without requiring any authentication, potentially leading to complete database compromise, data exfiltration, and unauthorized access to sensitive information.

Critical Impact

Unauthenticated attackers can exploit this SQL Injection vulnerability to extract sensitive data from the WordPress database, modify or delete content, and potentially escalate to full site compromise without any prior authentication.

Affected Products

  • WP Visitor Statistics plugin versions <= 5.7 for WordPress
  • plugins-market wp_visitor_statistics (all versions up to and including 5.7)
  • WordPress installations using the vulnerable WP Stats Manager plugin

Discovery Timeline

  • 2022-07-25 - CVE CVE-2022-33965 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-33965

Vulnerability Analysis

This vulnerability is classified under CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), commonly known as SQL Injection. The WP Visitor Statistics plugin fails to properly sanitize user-supplied input before incorporating it into SQL queries. This fundamental input validation flaw allows attackers to inject malicious SQL statements that are then executed by the database server.

The unauthenticated nature of this vulnerability significantly increases its severity, as any remote attacker can exploit it without needing valid credentials or prior access to the WordPress site. The plugin processes visitor statistics data through endpoints that do not require authentication, and these endpoints fail to implement proper parameterized queries or input sanitization.

Root Cause

The root cause of this vulnerability lies in the plugin's failure to implement secure database query practices. The WP Visitor Statistics plugin directly concatenates user-controlled input into SQL query strings instead of using prepared statements or parameterized queries. WordPress provides the $wpdb->prepare() function specifically for this purpose, but the vulnerable code paths bypass this security mechanism.

When handling visitor tracking data or statistics retrieval, the plugin accepts input parameters that are passed directly to database queries without proper escaping or validation. This allows attackers to break out of the intended query structure and inject their own SQL commands.

Attack Vector

The attack can be executed remotely over the network without any authentication requirements. An attacker can craft malicious HTTP requests to the vulnerable plugin endpoints, embedding SQL injection payloads in parameters that are processed by the plugin's statistics functionality.

Successful exploitation allows attackers to:

  • Extract sensitive data from the WordPress database including user credentials, posts, and configuration
  • Modify or delete database records
  • Potentially gain administrative access to the WordPress installation
  • In some configurations, read or write files on the server filesystem through SQL features

The vulnerability can be exploited through various techniques including UNION-based injection, blind SQL injection (both boolean-based and time-based), and error-based injection depending on the server configuration.

Detection Methods for CVE-2022-33965

Indicators of Compromise

  • Unusual database queries in MySQL/MariaDB slow query logs containing UNION SELECT, SLEEP(), or BENCHMARK() statements
  • Web server access logs showing requests to WP Visitor Statistics endpoints with suspicious URL-encoded characters or SQL keywords
  • Unexpected database modifications or new administrator accounts created without authorization
  • Error logs containing SQL syntax errors that may indicate failed injection attempts

Detection Strategies

  • Deploy Web Application Firewalls (WAF) with SQL injection detection rules to monitor and block malicious requests targeting the plugin endpoints
  • Implement database activity monitoring to detect unusual query patterns, especially queries originating from the web application that contain SQL injection signatures
  • Monitor WordPress access logs for requests containing common SQL injection patterns such as ' OR 1=1, UNION SELECT, or time-based payloads
  • Use SentinelOne Singularity to detect anomalous process behavior and database access patterns that may indicate active exploitation

Monitoring Recommendations

  • Enable detailed logging on the WordPress installation and database server to capture request parameters and query execution details
  • Set up alerts for multiple failed database queries or unusual query execution times that may indicate blind SQL injection attempts
  • Regularly audit the WordPress database for unauthorized changes, new user accounts, or modified permissions
  • Monitor network traffic for data exfiltration patterns that may follow successful SQL injection attacks

How to Mitigate CVE-2022-33965

Immediate Actions Required

  • Update the WP Visitor Statistics plugin to the latest version that addresses these SQL injection vulnerabilities
  • If an update is not immediately available, deactivate and remove the vulnerable plugin from the WordPress installation
  • Review WordPress database for any signs of compromise including unauthorized user accounts or modified content
  • Implement a Web Application Firewall (WAF) to provide additional protection against SQL injection attacks

Patch Information

Organizations should consult the Patchstack Vulnerability Report for detailed information about the vulnerability and remediation guidance. Additionally, the WordPress Plugin Developer Info page should be monitored for plugin updates that address this security issue. Users should upgrade to a version higher than 5.7 that includes proper input sanitization and parameterized queries.

Workarounds

  • Disable the WP Visitor Statistics plugin entirely until a patched version is available and verified
  • Implement strict WAF rules to block requests containing SQL injection payloads targeting the plugin's endpoints
  • Restrict access to the WordPress admin area and plugin endpoints through IP whitelisting where feasible
  • Consider using an alternative visitor statistics solution that has been audited for security vulnerabilities
bash
# Configuration example
# Disable the vulnerable plugin via WP-CLI
wp plugin deactivate wp-stats-manager

# Verify the plugin is deactivated
wp plugin list --status=active | grep -i visitor

# Enable WordPress debug logging to monitor for attack attempts
# Add to wp-config.php:
# define('WP_DEBUG', true);
# define('WP_DEBUG_LOG', true);
# define('WP_DEBUG_DISPLAY', false);

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechWordpress

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability39.97%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • WordPress Plugin Developer Info
  • Vendor Resources
  • Patchstack Vulnerability Report
  • Related CVEs
  • CVE-2026-3330: Form Maker by 10Web SQLi Vulnerability

  • CVE-2026-6674: WordPress CMS Plugin SQL Injection Flaw

  • CVE-2026-3489: DirectoryPress WordPress SQLi Vulnerability

  • CVE-2026-3773: WordPress Accessibility Suite SQL Injection
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English