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

CVE-2025-28974: Free WP Mail SMTP CSRF Vulnerability

CVE-2025-28974 is a Cross-Site Request Forgery flaw in Free WP Mail SMTP plugin that enables Stored XSS attacks. This article covers the security risks, affected versions up to 1.0, and mitigation strategies.

Published: April 28, 2026

CVE-2025-28974 Overview

CVE-2025-28974 is a Cross-Site Request Forgery (CSRF) vulnerability in the Free WP Mail SMTP WordPress plugin by mail250 that enables attackers to perform Stored Cross-Site Scripting (XSS) attacks. This chained vulnerability allows unauthenticated attackers to trick authenticated administrators into executing malicious actions, ultimately injecting persistent malicious scripts into the WordPress site.

Critical Impact

Attackers can leverage CSRF to inject stored XSS payloads, potentially compromising administrator accounts, stealing session cookies, defacing websites, or distributing malware to site visitors.

Affected Products

  • Free WP Mail SMTP WordPress Plugin version 1.0 and earlier
  • WordPress installations using the vulnerable Free WP Mail SMTP plugin
  • Sites with administrator users who may interact with malicious links

Discovery Timeline

  • 2025-06-06 - CVE-2025-28974 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2025-28974

Vulnerability Analysis

This vulnerability combines two attack vectors: Cross-Site Request Forgery (CSRF) and Stored Cross-Site Scripting (XSS). The Free WP Mail SMTP plugin lacks proper CSRF token validation on sensitive administrative endpoints, allowing attackers to craft malicious requests that authenticated administrators unknowingly execute. When successful, this CSRF weakness enables the injection of malicious JavaScript code that gets persistently stored in the WordPress database.

The network-based attack vector requires user interaction, typically through social engineering tactics where administrators are tricked into clicking malicious links or visiting attacker-controlled pages while authenticated to their WordPress dashboard. The scope is changed, meaning the vulnerability can impact resources beyond the vulnerable component itself—affecting site visitors who encounter the stored XSS payload.

Root Cause

The root cause of this vulnerability is the absence of proper CSRF protection mechanisms (such as nonce verification) in the plugin's administrative form handlers. WordPress provides built-in functions like wp_nonce_field() and wp_verify_nonce() for CSRF protection, but the Free WP Mail SMTP plugin fails to implement these security controls. Additionally, insufficient input sanitization and output encoding allows malicious scripts to be stored and rendered without proper escaping.

Attack Vector

The attack unfolds in multiple stages. First, an attacker crafts a malicious HTML page or link containing a forged request targeting the vulnerable plugin endpoint. When an authenticated WordPress administrator visits this malicious page, their browser automatically sends the forged request along with their valid session cookies. The plugin processes this request without verifying its legitimacy, storing the attacker's XSS payload in the database. Subsequently, when any user (including administrators or site visitors) views a page that renders the stored malicious content, the XSS payload executes in their browser context.

This attack can lead to session hijacking, administrative account takeover, website defacement, redirection to phishing sites, or the distribution of malware to unsuspecting visitors.

Detection Methods for CVE-2025-28974

Indicators of Compromise

  • Unexpected or unauthorized changes to Free WP Mail SMTP plugin settings
  • Suspicious JavaScript code snippets in plugin configuration fields or database entries
  • Unusual outbound requests from client browsers to unknown external domains
  • Administrator reports of strange behavior after clicking external links

Detection Strategies

  • Review WordPress database tables associated with the Free WP Mail SMTP plugin for suspicious script tags or encoded JavaScript
  • Monitor web server access logs for unusual POST requests to plugin administrative endpoints without valid referer headers
  • Implement Content Security Policy (CSP) headers to detect and block unauthorized inline script execution
  • Deploy web application firewalls (WAF) with rules to detect CSRF and XSS attack patterns

Monitoring Recommendations

  • Enable WordPress audit logging to track configuration changes to the Free WP Mail SMTP plugin
  • Configure browser-based XSS detection alerts through CSP violation reporting
  • Regularly scan WordPress installations using security plugins that identify stored XSS vulnerabilities
  • Monitor for anomalous administrator session activity that may indicate account compromise

How to Mitigate CVE-2025-28974

Immediate Actions Required

  • Deactivate and remove the Free WP Mail SMTP plugin (free-wp-mail-smtp) immediately if running version 1.0 or earlier
  • Review and clean any suspicious entries in the plugin's stored settings and associated database tables
  • Rotate administrator passwords and invalidate existing sessions for all WordPress users
  • Audit your WordPress installation for signs of compromise or injected malicious scripts

Patch Information

As of the published CVE data, the vulnerability affects Free WP Mail SMTP version 1.0 and earlier. Site administrators should check the WordPress plugin repository for updated versions that address this security issue. If no patched version is available, consider migrating to an alternative SMTP plugin with an established security track record. For detailed vulnerability information, refer to the Patchstack Vulnerability Report.

Workarounds

  • Implement a Web Application Firewall (WAF) with CSRF and XSS protection rules
  • Restrict administrative access to trusted IP addresses only using .htaccess or firewall rules
  • Add custom CSRF validation to the plugin's form handlers if technically feasible
  • Educate administrators about the risks of clicking links from untrusted sources while logged into WordPress
bash
# Disable the vulnerable plugin via WP-CLI
wp plugin deactivate free-wp-mail-smtp

# Remove the plugin entirely
wp plugin delete free-wp-mail-smtp

# Search database for potential XSS payloads
wp db search "<script" --all-tables

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechFree Wp Mail Smtp

  • 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
  • Latest CVEs
  • CVE-2026-46333: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-2586: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-2587: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-45255: FreeBSD bsdinstall/bsdconfig RCE Flaw
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