A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-46507

CVE-2025-46507: Unsafe Mimetypes CSRF Vulnerability

CVE-2025-46507 is a Cross-Site Request Forgery flaw in the Unsafe Mimetypes plugin that enables stored XSS attacks. This article covers the technical details, affected versions through 0.1.4, impact, and mitigation.

Published: April 29, 2026

CVE-2025-46507 Overview

CVE-2025-46507 is a Cross-Site Request Forgery (CSRF) vulnerability in the Unsafe Mimetypes WordPress plugin (developed by ldrumm) that can be chained to achieve Stored Cross-Site Scripting (XSS). This vulnerability allows attackers to trick authenticated users into performing unintended actions, which can subsequently inject persistent malicious scripts into the affected WordPress site.

Critical Impact

This CSRF-to-Stored-XSS chain allows attackers to compromise authenticated user sessions, steal credentials, deface websites, and potentially gain administrative access to WordPress installations running vulnerable versions of the Unsafe Mimetypes plugin.

Affected Products

  • Unsafe Mimetypes WordPress Plugin version 0.1.4 and earlier
  • All installations of unsafe-mimetypes plugin from n/a through <= 0.1.4

Discovery Timeline

  • 2025-04-24 - CVE-2025-46507 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2025-46507

Vulnerability Analysis

This vulnerability combines two distinct attack vectors: Cross-Site Request Forgery (CSRF) and Stored Cross-Site Scripting (XSS). The Unsafe Mimetypes plugin fails to implement proper CSRF protection mechanisms (nonce verification) on critical form submissions, allowing attackers to craft malicious requests that execute actions on behalf of authenticated administrators.

When successfully exploited, the CSRF vulnerability enables an attacker to inject malicious JavaScript payloads that persist in the WordPress database. These Stored XSS payloads execute whenever users access the affected pages, making this a particularly dangerous attack chain. The vulnerability is network-accessible and requires user interaction (clicking a malicious link) but does not require prior authentication from the attacker's perspective.

Root Cause

The root cause of this vulnerability is classified under CWE-352 (Cross-Site Request Forgery). The Unsafe Mimetypes plugin does not properly validate security tokens (WordPress nonces) when processing form submissions in its administrative interface. This missing validation allows attackers to craft requests that appear legitimate to the server, bypassing the same-origin policy protections that would normally prevent such attacks.

Additionally, the plugin fails to properly sanitize and escape user-supplied input before storing it in the database and rendering it in HTML output, enabling the Stored XSS component of this attack chain.

Attack Vector

The attack is executed over the network and requires the victim (typically a WordPress administrator) to interact with a malicious page or click a crafted link while authenticated to the target WordPress site. The attacker creates a specially crafted HTML page containing a hidden form that submits malicious data to the vulnerable plugin endpoint. When an authenticated administrator visits this malicious page, the form automatically submits, injecting persistent XSS payloads into the WordPress installation.

The stored malicious scripts then execute in the context of any user who views the affected content, potentially leading to session hijacking, credential theft, or further compromise of the WordPress installation.

Detection Methods for CVE-2025-46507

Indicators of Compromise

  • Unexpected JavaScript code or <script> tags appearing in plugin settings or database entries
  • Unusual administrative actions logged without corresponding user activity
  • Browser console errors indicating blocked or suspicious script execution
  • Reports from users experiencing unexpected redirects or pop-ups on the WordPress site

Detection Strategies

  • Monitor WordPress audit logs for administrative changes to the Unsafe Mimetypes plugin settings without corresponding authenticated sessions
  • Implement Content Security Policy (CSP) headers to detect and block unauthorized script execution
  • Deploy Web Application Firewall (WAF) rules to identify CSRF attack patterns targeting WordPress plugin endpoints
  • Regularly scan the WordPress database for suspicious script tags or encoded JavaScript payloads

Monitoring Recommendations

  • Enable WordPress security plugins that monitor for CSRF attempts and unauthorized form submissions
  • Configure server-side logging to capture all POST requests to plugin administrative endpoints
  • Set up alerts for changes to plugin configuration tables in the WordPress database
  • Implement real-time monitoring for XSS indicators using browser-based detection mechanisms

How to Mitigate CVE-2025-46507

Immediate Actions Required

  • Deactivate and remove the Unsafe Mimetypes plugin (unsafe-mimetypes) immediately if running version 0.1.4 or earlier
  • Review WordPress database entries for any injected malicious scripts and sanitize affected content
  • Force logout all authenticated users and require password resets for administrative accounts
  • Audit recent administrative activity logs for signs of unauthorized changes

Patch Information

At the time of publication, no patched version of the Unsafe Mimetypes plugin has been identified. Users are strongly advised to deactivate and remove the plugin until a security update is released by the developer. For detailed information about this vulnerability, refer to the Patchstack Vulnerability Report.

Workarounds

  • Implement additional CSRF protection at the web server level using custom rules or a WAF
  • Restrict access to WordPress administrative pages by IP address using .htaccess or server configuration
  • Deploy a WordPress security plugin that adds CSRF token validation across all forms
  • Educate administrative users to avoid clicking unknown links while authenticated to WordPress
bash
# Workaround: Restrict admin access by IP in .htaccess
<Files "admin.php">
    Order Deny,Allow
    Deny from all
    Allow from YOUR_TRUSTED_IP
</Files>

# Alternative: Block suspicious POST requests to plugin endpoints
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{HTTP_REFERER} !^https?://(www\.)?yourdomain\.com [NC]
    RewriteRule wp-admin/admin-post\.php - [F,L]
</IfModule>

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechUnsafe Mimetypes

  • 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-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free 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