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

CVE-2025-31459: Login Alert CSRF Vulnerability

CVE-2025-31459 is a Cross-Site Request Forgery vulnerability in the Login Alert plugin by PasqualePuzio that enables Stored XSS attacks. This article covers the technical details, affected versions up to 0.2.1, and mitigation.

Updated: May 11, 2026

CVE-2025-31459 Overview

CVE-2025-31459 is a Cross-Site Request Forgery (CSRF) vulnerability in the PasqualePuzio Login Alert WordPress plugin that chains into Stored Cross-Site Scripting (XSS). The flaw affects all versions of the login-alert plugin up to and including 0.2.1. An attacker who tricks an authenticated administrator into visiting a crafted page can submit unauthorized requests to the plugin, persisting malicious script payloads into plugin-controlled storage. The stored payload then executes in the browser of any user who views the affected page. The weakness is tracked as CWE-352.

Critical Impact

A successful attack persists attacker-controlled JavaScript in a WordPress site, enabling session theft, administrative account takeover, and arbitrary actions performed in the context of authenticated users.

Affected Products

  • PasqualePuzio Login Alert plugin for WordPress
  • All versions from initial release through 0.2.1
  • WordPress sites with the login-alert plugin installed and active

Discovery Timeline

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

Technical Details for CVE-2025-31459

Vulnerability Analysis

The vulnerability combines two distinct web application weaknesses into a single exploitation chain. The Login Alert plugin exposes a state-changing endpoint that lacks CSRF token validation. An attacker hosts a malicious page containing an auto-submitting form or fetch request that targets the plugin's settings handler. When an authenticated administrator visits the page, the browser submits the forged request using the administrator's session cookies.

Because the same endpoint also fails to sanitize or encode user-supplied input before storing it, the forged request writes attacker-controlled JavaScript into the plugin's persistent configuration. The payload is later rendered in plugin output pages without escaping, producing Stored XSS. Exploitation requires user interaction, which is reflected in the CVSS vector component UI:R, and the scope change (S:C) reflects script execution crossing into the WordPress administrative context.

Root Cause

The root cause is missing anti-CSRF protection on plugin form submissions, compounded by missing output encoding on stored configuration fields. The plugin does not validate a WordPress nonce via wp_verify_nonce() or check_admin_referer() before processing requests, and it does not apply esc_html() or esc_attr() when rendering stored values.

Attack Vector

The attack is delivered over the network and requires no privileges on the target system. An attacker crafts a page that issues a forged POST request to the vulnerable plugin endpoint. The administrator must be authenticated to WordPress and must visit the attacker-controlled page or click a malicious link. After the request lands, any subsequent visit to the affected admin or front-end page renders the injected script in the visitor's browser. See the Patchstack Vulnerability Advisory for additional technical context.

No verified public proof-of-concept code is available for this issue. The exploitation mechanism is described in prose based on the advisory.

Detection Methods for CVE-2025-31459

Indicators of Compromise

  • Unexpected <script> tags, event handlers, or encoded JavaScript stored in Login Alert plugin options within the WordPress wp_options table
  • Outbound requests from administrator browsers to unknown domains shortly after visiting external links
  • Creation of new WordPress administrator accounts or modification of existing user roles without a corresponding audit trail

Detection Strategies

  • Inspect plugin-controlled rows in wp_options for HTML or JavaScript content where plain text is expected
  • Review web server access logs for POST requests to Login Alert plugin endpoints originating from external Referer headers
  • Deploy a Content Security Policy (CSP) in report-only mode to surface inline script execution on WordPress admin pages

Monitoring Recommendations

  • Alert on administrative actions performed immediately after navigation from non-WordPress referrers
  • Monitor file integrity for WordPress core and plugin directories to detect secondary payloads dropped after XSS execution
  • Track failed and successful authentication events for privileged accounts and correlate them with plugin configuration changes

How to Mitigate CVE-2025-31459

Immediate Actions Required

  • Deactivate and remove the Login Alert plugin on any site running version 0.2.1 or earlier until a patched release is confirmed
  • Audit the wp_options table for stored script payloads in Login Alert configuration entries and remove malicious content
  • Force password resets and invalidate active sessions for all WordPress administrator accounts

Patch Information

No fixed version is identified in the advisory at the time of publication. The vulnerability affects the plugin through version 0.2.1. Review the Patchstack Vulnerability Advisory for updates on a patched release.

Workarounds

  • Remove the login-alert plugin from production WordPress installations and replace it with an actively maintained login notification plugin
  • Restrict access to /wp-admin/ using IP allowlisting at the web server or WAF layer to reduce CSRF exposure
  • Enforce a strict Content Security Policy that disallows inline scripts in the WordPress administrative interface
  • Require administrators to use separate browser profiles or sessions for WordPress management to limit cross-site request exposure
bash
# Disable and remove the vulnerable plugin via WP-CLI
wp plugin deactivate login-alert
wp plugin delete login-alert

# Search the options table for suspicious stored content
wp db query "SELECT option_name, option_value FROM wp_options WHERE option_name LIKE '%login_alert%' AND option_value REGEXP '<script|onerror=|onload=';"

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechLogin Alert

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.26%

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