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

CVE-2025-25138: On Page SEO Plugin CSRF Vulnerability

CVE-2025-25138 is a Cross-Site Request Forgery flaw in the On Page SEO + Whatsapp Chat Button plugin that enables Stored XSS attacks. This post covers technical details, affected versions up to 2.0.0, and mitigation.

Published: May 4, 2026

CVE-2025-25138 Overview

CVE-2025-25138 is a Cross-Site Request Forgery (CSRF) vulnerability in the Rishi On Page SEO + Whatsapp Chat Button WordPress plugin (formerly known as the OPS plugin, distributed under the ops-robots-txt slug). The flaw chains into a Stored Cross-Site Scripting (XSS) condition, allowing attackers to persist malicious JavaScript in plugin-controlled content. The issue affects all plugin versions up to and including 2.0.0. Exploitation requires a logged-in privileged user to load attacker-controlled content, after which the injected payload executes in the context of any visitor or administrator viewing the affected page. The vulnerability is tracked under CWE-352.

Critical Impact

An unauthenticated attacker can trick a logged-in administrator into submitting a forged request that injects persistent JavaScript into the site, leading to session theft, account takeover, or further site compromise.

Affected Products

  • Rishi On Page SEO + Whatsapp Chat Button (formerly OPS Plugin) — versions up to and including 2.0.0
  • WordPress installations using the ops-robots-txt plugin slug
  • Any site administrator session with privileges to manage plugin settings

Discovery Timeline

  • 2025-02-07 - CVE-2025-25138 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2025-25138

Vulnerability Analysis

The plugin exposes administrative functions that update settings related to robots.txt content and on-page SEO metadata without enforcing anti-CSRF protections. State-changing endpoints accept POST requests without validating a WordPress nonce or verifying request origin. Because the same endpoints fail to sanitize or escape the submitted values before storing them, the missing CSRF check is amplified into a Stored XSS primitive.

An attacker hosts a page containing a forged form or fetch request targeting the vulnerable plugin endpoint. When an authenticated administrator visits the malicious page, the browser submits the request with valid session cookies. The plugin accepts the unauthenticated-from-the-attacker but authenticated-from-WordPress request and writes attacker-controlled markup, including <script> tags, into plugin storage. Subsequent page renders execute the payload in every visitor's browser.

Root Cause

The root cause is the absence of nonce verification (wp_verify_nonce or check_admin_referer) on settings handlers, combined with insufficient output encoding on stored values. Both controls must fail for the chain to succeed, and in this plugin both are missing on the affected ops-robots-txt related routes.

Attack Vector

Exploitation is network-based and requires user interaction. The attacker must induce a privileged WordPress user to visit an external page or click a crafted link while authenticated to the target site. No attacker credentials on the target are required.

The vulnerability is described in prose only; no public proof-of-concept has been published. See the Patchstack WordPress Vulnerability Advisory for technical details.

Detection Methods for CVE-2025-25138

Indicators of Compromise

  • Unexpected <script>, <iframe>, or event-handler attributes appearing in plugin-managed settings such as robots.txt output, SEO metadata fields, or chat button configuration.
  • WordPress audit logs showing settings updates to ops-robots-txt options without a corresponding administrator session in the admin UI.
  • Outbound requests from visitor browsers to unfamiliar domains shortly after loading pages rendered by the plugin.

Detection Strategies

  • Inspect the wp_options table for plugin-prefixed entries containing HTML or JavaScript that should not appear in SEO or robots.txt fields.
  • Review web server access logs for POST requests to plugin admin-ajax or settings handlers originating from Referer values outside the site's own domain.
  • Hunt for administrator browser sessions that loaded external pages immediately before plugin option modifications.

Monitoring Recommendations

  • Enable file and database integrity monitoring on WordPress option tables and plugin directories.
  • Forward WordPress and web server logs to a SIEM and alert on settings changes lacking matching admin console activity.
  • Deploy a Web Application Firewall (WAF) rule to flag cross-origin POSTs to WordPress admin endpoints missing a valid _wpnonce parameter.

How to Mitigate CVE-2025-25138

Immediate Actions Required

  • Update the Rishi On Page SEO + Whatsapp Chat Button plugin to a version later than 2.0.0 as soon as a patched release is available.
  • Audit plugin settings for injected scripts or unexpected HTML and remove any malicious content from stored options.
  • Rotate administrator passwords and invalidate active sessions if Stored XSS execution is suspected.

Patch Information

The vendor advisory is tracked through Patchstack. Refer to the Patchstack advisory for ops-robots-txt for the latest fixed version and remediation guidance. Sites unable to upgrade should consider deactivating the plugin until a patch is verified.

Workarounds

  • Deactivate the ops-robots-txt plugin until a fixed version is installed and validated.
  • Restrict WordPress administrator browsing to dedicated, hardened workstations that do not visit untrusted sites during privileged sessions.
  • Apply a virtual patch via WAF to require a valid WordPress nonce on POST requests targeting plugin settings endpoints.
bash
# Example WAF rule pseudocode: block cross-origin POSTs to plugin endpoints lacking a nonce
SecRule REQUEST_METHOD "@streq POST" \
  "chain,id:1025138,phase:2,deny,status:403,msg:'CVE-2025-25138 CSRF guard'"
  SecRule REQUEST_URI "@rx /wp-admin/(admin-post|admin-ajax)\.php" "chain"
    SecRule &ARGS:_wpnonce "@eq 0"

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechOn Page Seo

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.13%

  • 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 WordPress Vulnerability Advisory
  • 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