Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-12037

CVE-2025-12037: WP 404 Auto Redirect XSS Vulnerability

CVE-2025-12037 is a stored XSS flaw in the WP 404 Auto Redirect to Similar Post plugin for WordPress that allows admin-level attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published: February 20, 2026

CVE-2025-12037 Overview

CVE-2025-12037 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the WP 404 Auto Redirect to Similar Post plugin for WordPress. The vulnerability exists in all versions up to and including 1.0.5 due to insufficient input sanitization and output escaping in admin settings. This flaw allows authenticated attackers with administrator-level permissions to inject arbitrary web scripts into pages that execute whenever a user accesses an injected page.

Critical Impact

This vulnerability enables persistent script injection that can compromise administrator sessions, steal credentials, or perform unauthorized actions on multi-site WordPress installations and sites where unfiltered_html has been disabled.

Affected Products

  • WP 404 Auto Redirect to Similar Post plugin versions up to and including 1.0.5
  • WordPress multi-site installations
  • WordPress installations where unfiltered_html capability has been disabled

Discovery Timeline

  • 2026-02-18 - CVE-2025-12037 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2025-12037

Vulnerability Analysis

This Stored Cross-Site Scripting vulnerability stems from improper handling of user-supplied input within the plugin's administrative settings interface. When an administrator configures the plugin settings, the input values are not properly sanitized before storage and are not adequately escaped when rendered on subsequent page loads. This creates a persistent XSS condition where malicious JavaScript payloads survive across sessions and affect all users who view the compromised pages.

The vulnerability specifically impacts WordPress environments where the unfiltered_html capability has been restricted, which is a common security hardening practice in enterprise WordPress deployments and all multi-site installations by default. In these configurations, administrators would normally be prevented from inserting raw HTML/JavaScript, but this vulnerability bypasses that protection through the plugin's flawed input handling.

Root Cause

The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The plugin fails to implement proper input sanitization on admin settings fields before storing data to the database, and does not apply appropriate output escaping (such as esc_html(), esc_attr(), or wp_kses()) when rendering these values in the WordPress admin or frontend pages. This combination allows script content to be persisted and executed in users' browsers.

Attack Vector

The attack requires network access and is executed through the WordPress admin interface. An attacker with administrator-level credentials can navigate to the plugin's settings page and inject malicious JavaScript code into vulnerable input fields. The injected script is stored in the WordPress database and executes in the browser context of any user who subsequently views a page where the malicious content is rendered.

While the requirement for administrator privileges limits the attack surface, this vulnerability is particularly concerning in scenarios where:

  • Multiple administrators manage a site and one account is compromised
  • An insider threat exists within the administrative team
  • The vulnerability is chained with other attacks to escalate from a lower-privileged position

The technical details of exploitation can be found in the Wordfence Vulnerability Report.

Detection Methods for CVE-2025-12037

Indicators of Compromise

  • Unexpected JavaScript code or <script> tags present in the wp_options table entries related to the WP 404 Auto Redirect plugin
  • Unusual admin activity logs showing repeated modifications to the plugin's settings
  • Browser console errors or unexpected script execution when accessing plugin configuration pages
  • Reports of session hijacking or unauthorized administrative actions

Detection Strategies

  • Review WordPress database for stored XSS payloads in plugin option values by querying the wp_options table for entries containing <script>, javascript:, or event handlers like onerror
  • Implement Content Security Policy (CSP) headers to detect and block inline script execution, which will generate violation reports if XSS payloads attempt to execute
  • Deploy web application firewall (WAF) rules to monitor and alert on suspicious patterns in admin POST requests to plugin settings endpoints
  • Enable and review WordPress audit logging for changes to plugin configurations

Monitoring Recommendations

  • Configure SentinelOne Singularity XDR to monitor for suspicious JavaScript execution patterns and DOM manipulation indicative of XSS attacks
  • Implement file integrity monitoring on WordPress core files and plugin directories to detect unauthorized modifications
  • Set up alerts for administrative actions performed during unusual hours or from unexpected IP addresses
  • Monitor outbound network connections from web servers for data exfiltration attempts

How to Mitigate CVE-2025-12037

Immediate Actions Required

  • Update the WP 404 Auto Redirect to Similar Post plugin to a patched version if available, or deactivate and remove the plugin until a fix is released
  • Audit current plugin settings for any evidence of injected malicious scripts
  • Review WordPress admin user accounts and revoke access for any suspicious or unnecessary administrator accounts
  • Implement strict Content Security Policy headers to mitigate the impact of stored XSS payloads

Patch Information

Plugin update information and changelogs are available through the WordPress Plugin Changelog. Site administrators should monitor for version updates beyond 1.0.5 that address this vulnerability. Review the Wordfence Vulnerability Report for the latest remediation guidance.

Workarounds

  • Disable or uninstall the WP 404 Auto Redirect to Similar Post plugin until a patched version is available
  • Limit administrator account access using the principle of least privilege and consider implementing role-based access controls
  • Deploy a Web Application Firewall (WAF) with rules to detect and block XSS payloads in HTTP requests
  • Enable unfiltered_html restrictions if not already applied and ensure multi-site network configurations are properly hardened
bash
# WordPress CLI commands to audit and manage the vulnerable plugin
# Check current plugin version
wp plugin list --name=wp-404-auto-redirect-to-similar-post --format=table

# Deactivate the vulnerable plugin as a temporary mitigation
wp plugin deactivate wp-404-auto-redirect-to-similar-post

# Check for plugin updates
wp plugin update wp-404-auto-redirect-to-similar-post --dry-run

# Review plugin options for suspicious content
wp option get wp_404_auto_redirect_options --format=json

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score4.4

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • WordPress Plugin Changelog

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-4512: reCaptcha by WebDesignBy XSS Vulnerability

  • CVE-2025-32630: WP-BusinessDirectory XSS Vulnerability

  • CVE-2025-32581: WordPress Spam Blocker XSS Vulnerability

  • CVE-2025-28975: Alike WordPress Plugin XSS Vulnerability
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