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

CVE-2025-31440: Terms of Use Plugin CSRF Vulnerability

CVE-2025-31440 is a Cross-Site Request Forgery flaw in Strategy11's Terms of Use plugin that enables Stored XSS attacks. This article covers the technical details, affected versions through 2.0, impact, and mitigation.

Updated: May 11, 2026

CVE-2025-31440 Overview

CVE-2025-31440 is a Cross-Site Request Forgery (CSRF) vulnerability in the Strategy11 Team Terms of Use WordPress plugin (terms-of-use-2). The flaw allows an attacker to chain CSRF with Stored Cross-Site Scripting (XSS), persisting attacker-controlled script in the plugin's stored data. The issue affects all versions of the Terms of Use plugin up to and including version 2.0. The vulnerability is tracked under CWE-352: Cross-Site Request Forgery.

Critical Impact

An attacker who tricks an authenticated administrator into visiting a malicious page can forge requests that inject persistent JavaScript into plugin-managed content, leading to session theft, account takeover, and further compromise of WordPress sites.

Affected Products

  • Strategy11 Team Terms of Use plugin (terms-of-use-2) for WordPress
  • All versions from n/a through <= 2.0
  • WordPress sites with the affected plugin installed and active

Discovery Timeline

  • 2025-03-28 - CVE-2025-31440 published to the National Vulnerability Database (NVD)
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2025-31440

Vulnerability Analysis

The Terms of Use plugin exposes one or more state-changing endpoints that do not validate request authenticity. The endpoints lack CSRF protection such as WordPress nonce verification through wp_verify_nonce() or check_admin_referer(). An attacker who hosts a crafted page can submit a forged POST request that executes under the privileges of an authenticated administrator who visits the page.

Because the affected handler also fails to sanitize or escape user-supplied input before storing it, the forged request writes attacker-controlled HTML or JavaScript into plugin storage. The payload is later rendered in the WordPress admin or front-end context, producing a Stored XSS condition. The attack requires user interaction (UI:R) and changes scope (S:C) because the injected script executes in a different security context than the vulnerable endpoint.

Root Cause

The root cause is missing CSRF token validation on plugin actions combined with insufficient output encoding of stored values. Both controls are required, and the absence of either is enough to enable the chain. WordPress provides nonce APIs precisely to defeat CSRF, and the affected plugin does not enforce them on the vulnerable handler.

Attack Vector

An attacker crafts an HTML page containing a hidden form or fetch() request that targets the plugin's administrative endpoint with an XSS payload as a parameter value. The attacker then lures a logged-in WordPress administrator to that page through phishing, a forum post, or a malicious advertisement. The browser submits the request with the administrator's session cookies, and the plugin stores the payload. Any subsequent page render that outputs the stored value triggers script execution in the victim's browser. Refer to the Patchstack WordPress Vulnerability Report for additional technical detail.

Detection Methods for CVE-2025-31440

Indicators of Compromise

  • Unexpected <script> tags, event handlers (onerror, onload), or obfuscated JavaScript in plugin-managed Terms of Use content stored in wp_options or related tables.
  • POST requests to plugin admin endpoints originating from an HTTP Referer header outside the site's own admin domain.
  • New or modified WordPress administrator accounts and unexpected plugin or theme installations following admin browsing activity.

Detection Strategies

  • Audit the WordPress database for stored plugin values containing HTML tags, JavaScript URI schemes, or encoded script payloads.
  • Inspect web server access logs for POST requests to terms-of-use-2 endpoints lacking valid nonce parameters or with off-site referrers.
  • Deploy a Web Application Firewall (WAF) rule that flags requests targeting the plugin's admin actions without a matching _wpnonce parameter.

Monitoring Recommendations

  • Enable WordPress activity logging to record plugin setting changes, with alerts for modifications outside normal change windows.
  • Monitor outbound network calls from administrator browsers to unfamiliar domains, which can indicate XSS payload execution.
  • Track file integrity for the active theme and wp-content directories to catch follow-on persistence introduced via stolen admin sessions.

How to Mitigate CVE-2025-31440

Immediate Actions Required

  • Update the Terms of Use plugin to a version higher than 2.0 once the vendor releases a patched build.
  • If no fixed version is available, deactivate and remove the terms-of-use-2 plugin from all affected WordPress installations.
  • Force a password reset and re-issue session tokens for all WordPress administrator accounts that may have visited untrusted pages while authenticated.

Patch Information

At the time of publication, the Patchstack advisory lists the vulnerability as affecting versions up to and including 2.0. Administrators should consult the plugin's WordPress.org page for the latest release notes and apply the vendor-supplied patch as soon as it is published.

Workarounds

  • Restrict access to /wp-admin/ by source IP using web server or WAF rules so that CSRF-baiting pages cannot reach the vulnerable endpoint with admin cookies.
  • Require administrators to use a dedicated browser profile for WordPress management to prevent cross-context request forgery from general browsing sessions.
  • Add a virtual patch at the WAF that rejects POST requests to plugin endpoints when the _wpnonce parameter is missing or the Referer header does not match the site origin.
bash
# Example WAF rule (ModSecurity) to block CSRF attempts against the plugin
SecRule REQUEST_URI "@contains /wp-admin/admin.php" \
  "chain,phase:2,deny,status:403,id:1003144,\
  msg:'CVE-2025-31440: missing nonce on terms-of-use-2 request'"
  SecRule ARGS:page "@streq terms-of-use-2" "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/TechStrategy11

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.19%

  • 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 Report
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
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