---
id: CVE-2026-3191
title: >-
  The Minify HTML plugin for WordPress is vulnerable to Cross-Site Request
  Forgery in all versions up to, and including, 2.1.12
summary: >-
  The Minify HTML plugin for WordPress is vulnerable to Cross-Site Request
  Forgery in all versions up to, and including, 2.1.12. This is due to missing
  or incorrect nonce validation on the 'minify_html_menu_options' function. This
  makes it…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L'
cwe:
  - CWE-352
published: '2026-03-31'
updated: '2026-07-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-3191'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/minify-html-markup/tags/2.1.12/minify-html.php#L139
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3486011/minify-html-markup'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/fe14b92b-1784-4083-9b9f-23d7f69a3215?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00154
epssPercentile: 0.049
ingestedAt: '2026-07-25T10:53:53.607Z'
---

## Overview

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

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
