A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-23867

CVE-2025-23867: WordPress File Search XSS Vulnerability

CVE-2025-23867 is a reflected cross-site scripting flaw in WordPress File Search plugin that allows attackers to inject malicious scripts. This article covers technical details, affected versions, impact, and mitigation.

Published: April 29, 2026

CVE-2025-23867 Overview

CVE-2025-23867 is a Reflected Cross-Site Scripting (XSS) vulnerability affecting the WordPress File Search plugin (wpfilesearch) developed by markcoker. This vulnerability arises from improper neutralization of user input during web page generation, allowing attackers to inject malicious scripts that execute in the context of a victim's browser session.

Critical Impact

Attackers can execute arbitrary JavaScript in victims' browsers, potentially stealing session cookies, hijacking accounts, defacing web pages, or redirecting users to malicious sites through crafted URLs.

Affected Products

  • WordPress File Search plugin (wpfilesearch) versions up to and including 1.2
  • WordPress installations using the affected plugin versions
  • Any website with the vulnerable wpfilesearch plugin installed and active

Discovery Timeline

  • 2025-01-22 - CVE CVE-2025-23867 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2025-23867

Vulnerability Analysis

This Reflected XSS vulnerability (CWE-79) occurs when the WordPress File Search plugin fails to properly sanitize user-supplied input before including it in dynamically generated web page content. When a user interacts with a specially crafted URL containing malicious JavaScript, the plugin reflects the unsanitized input back to the browser, causing the injected script to execute within the user's session context.

The attack requires user interaction—specifically, the victim must click a malicious link crafted by the attacker. Once clicked, the malicious script executes with the same privileges as the victim user, enabling various attack scenarios including credential theft, session hijacking, and unauthorized actions performed on behalf of the victim.

Root Cause

The root cause of this vulnerability is insufficient input validation and output encoding within the WordPress File Search plugin. The plugin processes user-controlled parameters without properly escaping special characters that have meaning in HTML/JavaScript contexts. This allows attackers to break out of the intended data context and inject executable code into the page.

WordPress plugins are expected to use functions like esc_html(), esc_attr(), and wp_kses() to sanitize output, but the wpfilesearch plugin failed to implement these protections adequately in affected code paths.

Attack Vector

The attack vector is network-based, requiring the attacker to craft a malicious URL containing JavaScript payload and trick a victim into clicking it. This is typically achieved through phishing emails, social media posts, forum comments, or other social engineering techniques.

The attacker constructs a URL to the vulnerable WordPress site with malicious JavaScript embedded in a parameter processed by the wpfilesearch plugin. When a logged-in administrator or user clicks the link, the script executes with their privileges, potentially allowing the attacker to perform administrative actions, modify site content, or exfiltrate sensitive data.

Since this is a reflected XSS vulnerability, the malicious payload is not stored on the server but is instead reflected back from the request, making detection more challenging without proper input monitoring.

Detection Methods for CVE-2025-23867

Indicators of Compromise

  • Suspicious URL parameters containing encoded JavaScript or HTML tags in requests to pages using the wpfilesearch plugin
  • Unexpected script execution or browser behavior when interacting with file search functionality
  • Web server access logs showing unusual query strings with encoded payloads targeting wpfilesearch endpoints
  • Reports from users about unexpected redirects or pop-ups when using the file search feature

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block common XSS payloads in request parameters
  • Enable detailed logging for all requests processed by the wpfilesearch plugin functionality
  • Deploy Content Security Policy (CSP) headers to restrict inline script execution and report violations
  • Use security plugins like Wordfence or Sucuri to monitor for suspicious request patterns

Monitoring Recommendations

  • Configure alerts for access log entries containing typical XSS payload patterns such as <script>, javascript:, or event handlers like onerror
  • Monitor browser console errors and CSP violation reports for signs of attempted XSS exploitation
  • Regularly review web server logs for requests with abnormally long query strings or URL-encoded special characters

How to Mitigate CVE-2025-23867

Immediate Actions Required

  • Audit your WordPress installation to determine if the wpfilesearch plugin is installed and active
  • If using WordPress File Search plugin version 1.2 or earlier, consider disabling the plugin until a patched version is available
  • Implement a Web Application Firewall (WAF) with XSS protection rules to filter malicious requests
  • Deploy Content Security Policy headers to mitigate the impact of potential XSS exploitation

Patch Information

At the time of this advisory, all versions of WordPress File Search through version 1.2 are affected. Users should monitor the Patchstack WordPress Vulnerability Analysis for updates on patch availability. Consider contacting the plugin developer (markcoker) for information on remediation timelines.

Workarounds

  • Disable or remove the wpfilesearch plugin from your WordPress installation if file search functionality is not critical
  • Restrict access to the plugin's functionality to authenticated and trusted users only
  • Implement strict Content Security Policy headers that disable inline JavaScript execution: Content-Security-Policy: script-src 'self'; object-src 'none'
  • Use a security plugin to add additional input filtering for all plugin parameters
bash
# Example Content Security Policy header configuration for Apache
# Add to .htaccess or Apache configuration
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; object-src 'none'; frame-ancestors 'self';"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWordpress File Search

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.21%

  • 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 Analysis
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free 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