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-30908

CVE-2025-30908: Web Directory Free CSRF Vulnerability

CVE-2025-30908 is a Cross-Site Request Forgery flaw in Shamalli Web Directory Free that enables stored XSS attacks. This post covers the technical details, affected versions up to 1.7.6, impact, and mitigation.

Published: April 29, 2026

CVE-2025-30908 Overview

CVE-2025-30908 is a Cross-Site Request Forgery (CSRF) vulnerability in the Shamalli Web Directory Free WordPress plugin that enables attackers to perform Stored Cross-Site Scripting (XSS) attacks. The vulnerability affects all versions of the Web Directory Free plugin through version 1.7.6. This chained attack allows unauthenticated attackers to trick authenticated administrators into unknowingly submitting malicious requests that inject persistent JavaScript code into the WordPress site.

Critical Impact

Attackers can leverage this CSRF-to-XSS chain to execute arbitrary JavaScript in the context of site visitors and administrators, potentially leading to session hijacking, credential theft, website defacement, and malware distribution.

Affected Products

  • Shamalli Web Directory Free plugin for WordPress versions up to and including 1.7.6
  • WordPress installations running vulnerable versions of the web-directory-free plugin

Discovery Timeline

  • 2025-04-03 - CVE-2025-30908 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2025-30908

Vulnerability Analysis

This vulnerability represents a dangerous combination of two distinct web security flaws working in tandem. The Web Directory Free plugin fails to implement proper CSRF protection on critical form handling endpoints, allowing attackers to craft malicious requests that are executed when an authenticated administrator visits an attacker-controlled page. Combined with insufficient input sanitization, this allows attackers to inject persistent malicious scripts that execute whenever the affected page is rendered.

The attack requires user interaction, specifically convincing an authenticated WordPress administrator to visit a malicious page while logged into the target WordPress installation. However, once the CSRF attack succeeds, the stored XSS payload persists in the database and affects all subsequent visitors to the compromised pages.

Root Cause

The root cause of this vulnerability is twofold:

  1. Missing CSRF Token Validation (CWE-352): The plugin does not validate nonce tokens on state-changing requests, allowing forged requests from external origins to be processed as legitimate administrator actions.

  2. Insufficient Output Encoding: User-supplied input is stored in the database and rendered back to users without proper HTML entity encoding or sanitization, enabling script injection.

Attack Vector

The attack is network-based and requires the following conditions:

  1. An attacker creates a malicious webpage containing a hidden form that targets the vulnerable plugin endpoint
  2. The form contains XSS payload data in the appropriate input fields
  3. When an authenticated WordPress administrator visits the attacker's page, the form auto-submits via JavaScript
  4. The vulnerable plugin processes the forged request and stores the malicious script
  5. The stored XSS payload executes whenever any user (including other administrators) views the affected content

The vulnerability exploits the trust relationship between the WordPress plugin and authenticated sessions, bypassing the browser's same-origin policy through the CSRF mechanism.

Detection Methods for CVE-2025-30908

Indicators of Compromise

  • Unexpected or suspicious entries in the Web Directory Free plugin database tables containing JavaScript or HTML tags
  • Web server logs showing POST requests to plugin endpoints from external referrers
  • Browser console errors or unexpected script execution on directory listing pages
  • User reports of unusual popups, redirects, or behavior when viewing directory content

Detection Strategies

  • Review WordPress audit logs for administrative actions performed on the Web Directory Free plugin without corresponding user session activity
  • Implement Content Security Policy (CSP) headers to detect and block inline script execution
  • Monitor for suspicious form submissions to /wp-admin/ endpoints from external referrers
  • Scan database content for common XSS patterns such as <script>, javascript:, and event handlers like onerror

Monitoring Recommendations

  • Enable WordPress security logging plugins to track all plugin-related administrative actions
  • Configure Web Application Firewall (WAF) rules to detect CSRF attack patterns
  • Implement real-time monitoring for database modifications to plugin tables
  • Set up alerts for failed CSP violations that may indicate XSS injection attempts

How to Mitigate CVE-2025-30908

Immediate Actions Required

  • Audit existing Web Directory Free entries for signs of injected malicious content
  • Review WordPress user accounts for any unauthorized administrative accounts that may have been created
  • Consider temporarily disabling the Web Directory Free plugin until a patched version is available
  • Implement a Web Application Firewall (WAF) with CSRF and XSS protection rules

Patch Information

At the time of publication, administrators should check for updates to the Web Directory Free plugin and apply any security patches released by Shamalli. Monitor the Patchstack Vulnerability Report for updates on remediation status.

Ensure WordPress core, all plugins, and themes are updated to their latest versions. Subscribe to security advisories from the plugin vendor and WordPress security sources.

Workarounds

  • Implement server-side CSRF protection at the web server level using ModSecurity or similar WAF rules
  • Add Content Security Policy headers to restrict inline script execution: Content-Security-Policy: script-src 'self'
  • Restrict access to WordPress admin dashboard by IP address where feasible
  • Consider replacing the vulnerable plugin with an alternative directory solution that has been security audited
bash
# Add Content Security Policy header in Apache .htaccess
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'"

# Or in Nginx server block
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'";

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechShamalli Web Directory

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.08%

  • 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-352
  • Technical References
  • Patchstack Vulnerability Report
  • Related CVEs
  • CVE-2025-28904: Shamalli Web Directory Free SQLi Flaw
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