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
    • 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-2026-3191

CVE-2026-3191: Minify HTML WordPress Plugin CSRF Flaw

CVE-2026-3191 is a Cross-Site Request Forgery vulnerability in the Minify HTML WordPress plugin that enables attackers to modify settings by tricking administrators. This article covers technical details, affected versions, and mitigation.

Published: April 2, 2026

CVE-2026-3191 Overview

The Minify HTML plugin for WordPress is vulnerable to Cross-Site Request Forgery (CSRF) in all versions up to, and including, 2.1.12. This vulnerability exists due to missing or incorrect nonce validation on the minify_html_menu_options function. This flaw makes it possible for unauthenticated attackers to update plugin settings via a forged request, provided they can trick a site administrator into performing an action such as clicking on a malicious link.

Critical Impact

Unauthenticated attackers can manipulate plugin configuration settings through social engineering, potentially disrupting site functionality or enabling further attacks by modifying HTML minification behavior.

Affected Products

  • WordPress Minify HTML Plugin versions up to and including 2.1.12

Discovery Timeline

  • 2026-03-31 - CVE-2026-3191 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-3191

Vulnerability Analysis

This Cross-Site Request Forgery vulnerability stems from inadequate request validation in the WordPress Minify HTML plugin's administrative functionality. The minify_html_menu_options function, which handles plugin configuration changes, fails to properly implement WordPress nonce verification. Nonces (number used once) are security tokens that WordPress uses to verify that requests originate from legitimate administrative actions rather than malicious third-party sites.

Without proper nonce validation, the plugin cannot distinguish between authentic configuration requests made by authenticated administrators and forged requests initiated by attackers. This allows an attacker to craft a malicious webpage or link that, when visited by a logged-in WordPress administrator, will automatically submit configuration changes to the vulnerable plugin.

Root Cause

The root cause of this vulnerability is the absence or improper implementation of nonce validation in the minify_html_menu_options function located in minify-html.php at line 139. WordPress provides built-in functions such as wp_verify_nonce() and check_admin_referer() to protect against CSRF attacks, but these safeguards were either missing or incorrectly implemented in the affected versions.

Attack Vector

The attack requires network access and user interaction to execute. An attacker would craft a malicious HTML page containing a hidden form that targets the vulnerable plugin's settings endpoint. When an authenticated WordPress administrator with sufficient privileges visits the attacker's page (via a phishing email, compromised website, or social engineering), the hidden form automatically submits a request to the WordPress site, changing plugin settings without the administrator's knowledge or consent.

The vulnerability in the minify_html_menu_options function allows attackers to modify plugin settings because the function processes form submissions without verifying a valid nonce token. This means any request that reaches this function will be processed as legitimate, regardless of its origin.

Detection Methods for CVE-2026-3191

Indicators of Compromise

  • Unexpected changes to Minify HTML plugin settings without administrator action
  • HTTP POST requests to WordPress admin endpoints containing modified plugin configuration parameters from external referrers
  • Administrator reports of clicking suspicious links followed by altered site behavior
  • Web server logs showing form submissions to the plugin settings page with unusual or missing referrer headers

Detection Strategies

  • Monitor WordPress admin activity logs for unexpected plugin configuration changes, particularly to the Minify HTML plugin
  • Implement referrer header validation at the web server level to flag requests to admin endpoints originating from external domains
  • Deploy Web Application Firewall (WAF) rules to detect and block CSRF attack patterns targeting WordPress administrative functions
  • Review access logs for clusters of admin-ajax.php or options.php requests that correlate with administrator browsing external websites

Monitoring Recommendations

  • Enable WordPress security plugins that log administrative actions and alert on configuration changes
  • Configure SIEM rules to correlate WordPress admin session activity with external URL access patterns
  • Regularly audit Minify HTML plugin settings to ensure they match expected configurations
  • Monitor for newly created or modified files in the plugin directory that could indicate post-exploitation activity

How to Mitigate CVE-2026-3191

Immediate Actions Required

  • Update the Minify HTML plugin to a patched version beyond 2.1.12 immediately
  • Review current plugin settings to ensure no unauthorized modifications have been made
  • Advise WordPress administrators to avoid clicking untrusted links while logged into the WordPress dashboard
  • Consider temporarily deactivating the plugin until the update can be applied if immediate patching is not possible

Patch Information

A security patch addressing this vulnerability has been released. The fix can be reviewed in the WordPress Minify HTML Changeset. The patch implements proper nonce validation on the minify_html_menu_options function to ensure that configuration changes can only be made through legitimate administrative requests.

Additional vulnerability details are available through Wordfence Vulnerability Intelligence.

Workarounds

  • Implement a Web Application Firewall (WAF) with CSRF protection rules to filter malicious requests
  • Use browser extensions that block cross-site form submissions for administrators
  • Log out of WordPress administrative sessions when browsing other websites
  • Configure Content Security Policy headers to restrict form action targets
  • Restrict administrator access to trusted IP addresses to limit the attack surface

WordPress administrators should ensure proper nonce validation is enforced across all plugins. The standard WordPress approach involves adding nonce fields to forms using wp_nonce_field() and validating them server-side with wp_verify_nonce() or check_admin_referer() before processing any configuration changes.

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-352
  • Technical References
  • WordPress Minify HTML Markup Code

  • WordPress Minify HTML Changeset

  • Wordfence Vulnerability Intelligence
  • Related CVEs
  • CVE-2026-1032: WordPress Conditional Menus CSRF Vulnerability

  • CVE-2026-3572: iTracker360 WordPress Plugin CSRF Vulnerability

  • CVE-2026-4143: Neos Connector for Fakturama CSRF Flaw

  • CVE-2026-3332: WordPress Xhanch Plugin CSRF Vulnerability
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