The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2025-49065

CVE-2025-49065: Visit Counter Plugin Stored XSS Flaw

CVE-2025-49065 is a stored XSS vulnerability in the Visit Counter plugin by BestiaDurmiente that allows attackers to inject malicious scripts. This article covers the technical details, affected versions, and mitigation strategies.

Updated: May 15, 2026

CVE-2025-49065 Overview

CVE-2025-49065 is a stored cross-site scripting (XSS) vulnerability in the BestiaDurmiente Visit Counter WordPress plugin. The flaw affects all versions of the visit-counter plugin up to and including 1.0. It results from improper neutralization of user-supplied input during web page generation, classified under [CWE-79]. An authenticated or unauthenticated attacker can inject malicious script content that persists in the page output and executes in the browsers of visitors who view the affected page.

Critical Impact

Stored XSS in the Visit Counter plugin allows attackers to inject persistent JavaScript that executes in administrator and visitor browsers, enabling session hijacking, content manipulation, and pivoting into the WordPress admin context.

Affected Products

  • BestiaDurmiente Visit Counter WordPress plugin (visit-counter)
  • All plugin versions from initial release through 1.0
  • WordPress sites running the plugin in any configuration

Discovery Timeline

  • 2025-08-14 - CVE-2025-49065 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2025-49065

Vulnerability Analysis

The Visit Counter plugin fails to sanitize and encode input before rendering it into HTML output. This produces a stored XSS condition where attacker-controlled data is saved server-side and later returned to clients without proper escaping. The vulnerability requires user interaction, such as visiting a page that contains the injected payload. Successful exploitation executes JavaScript under the origin of the WordPress site, granting access to cookies, the Document Object Model (DOM), and authenticated session context.

Because the injected payload is stored, every subsequent visitor to the affected page triggers execution. The scope change in the CVSS vector reflects that injected scripts run in the security context of the WordPress origin, which differs from the vulnerable plugin component itself. The EPSS exploitation probability is 0.047% as of the most recent scoring date.

Root Cause

The root cause is missing output encoding and input sanitization within the plugin's request handling and rendering paths. WordPress provides helper functions such as esc_html(), esc_attr(), wp_kses(), and sanitize_text_field(), but the affected plugin does not apply them consistently to attacker-controllable values before echoing them into HTML responses.

Attack Vector

The attack vector is network-based and requires no privileges. An attacker submits a crafted payload to an input handled by the plugin. The payload is stored and later served to any user who loads a page rendering that data. When an administrator views the page, the script executes with administrator browser context, enabling actions such as creating new admin accounts, exfiltrating nonces, or injecting backdoors through the plugin or theme editor.

For technical specifics, see the Patchstack WordPress Vulnerability Report.

Detection Methods for CVE-2025-49065

Indicators of Compromise

  • Unexpected <script>, <svg>, onerror, or onload content stored in plugin-managed database tables or options
  • WordPress admin user accounts created without a corresponding audit trail in wp_users
  • Outbound HTTP requests from administrator browsers to attacker-controlled domains shortly after viewing pages with the Visit Counter widget
  • Modifications to theme or plugin PHP files immediately following an admin session

Detection Strategies

  • Scan the WordPress database for HTML and JavaScript artifacts in fields populated by the visit-counter plugin
  • Inspect server access logs for POST requests targeting plugin endpoints with payloads containing script tags or event handler attributes
  • Deploy a web application firewall (WAF) rule set that flags reflected and stored XSS patterns in plugin parameters
  • Use file integrity monitoring on wp-content/plugins/ and wp-content/themes/ to identify tampering that follows admin XSS execution

Monitoring Recommendations

  • Enable WordPress audit logging for user creation, role changes, and plugin or theme file edits
  • Forward web server, PHP, and audit logs to a centralized SIEM with retention adequate for forensic review
  • Alert on anomalous administrator session activity, including unusual source IP addresses or off-hours logins
  • Continuously monitor for new browser-initiated requests to unfamiliar domains originating from the admin interface

How to Mitigate CVE-2025-49065

Immediate Actions Required

  • Deactivate and remove the Visit Counter (visit-counter) plugin from all WordPress installations until a patched version is confirmed available
  • Audit existing plugin data for stored payloads and purge any malicious script content
  • Force password resets and invalidate active sessions for all WordPress administrators and editors
  • Review recent user account changes, scheduled tasks, and modified plugin or theme files for signs of post-exploitation activity

Patch Information

No vendor patch is listed in the available references at the time of publication. The vulnerability affects all versions up to and including 1.0. Monitor the Patchstack WordPress Vulnerability Report for patch availability and replace the plugin with a maintained alternative if no fix is released.

Workarounds

  • Remove the plugin entirely and replace it with a maintained visit counter solution that follows WordPress sanitization standards
  • Deploy a WAF rule that blocks requests to plugin endpoints containing HTML tags or JavaScript event handlers
  • Apply a strict Content Security Policy (CSP) header that disallows inline scripts and restricts script sources to trusted origins
  • Restrict administrative access using IP allow-listing and require multi-factor authentication for all privileged WordPress accounts
bash
# Configuration example: remove the vulnerable plugin via WP-CLI
wp plugin deactivate visit-counter
wp plugin delete visit-counter

# Example CSP header for nginx to limit XSS impact
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self';" always;

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechVisit Counter

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-79
  • Technical References
  • Patchstack WordPress Vulnerability Report
  • Latest CVEs
  • CVE-2026-43328: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43329: Linux Kernel Netfilter DoS Vulnerability

  • CVE-2026-43330: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-43331: Linux Kernel DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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