CVE-2026-1392 in SR WP Minify HTML Plugininfo

Summary

by MITRE • 03/21/2026

The SR WP Minify HTML plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.1. This is due to missing nonce validation on the sr_minify_html_theme() 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.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 03/27/2026

The SR WP Minify HTML plugin for WordPress presents a critical cross-site request forgery vulnerability that affects all versions up to and including 2.1. This weakness stems from the absence of proper nonce validation within the sr_minify_html_theme() function, creating a significant security gap that adversaries can exploit to manipulate plugin configurations without authentication. The vulnerability operates under the principle that attackers can craft malicious requests that appear legitimate to the WordPress system, thereby bypassing standard authentication mechanisms that should protect sensitive administrative functions.

The technical flaw manifests in the plugin's failure to implement proper request validation through nonce tokens, which are essential cryptographic elements designed to prevent unauthorized modifications to plugin settings. When an administrator performs actions within the WordPress admin interface, the system typically validates these requests using nonce values that are unique to each session and time-bound. However, the sr_minify_html_theme() function lacks this validation step, allowing attackers to forge requests that modify plugin behavior and potentially compromise the website's performance optimization settings.

This vulnerability has severe operational implications for WordPress sites utilizing the affected plugin, as it enables attackers to manipulate HTML minification configurations without requiring administrative credentials. The attack vector relies on social engineering techniques where administrators are tricked into clicking malicious links or visiting compromised websites that trigger the forged requests. Such an attack could result in disabling HTML minification, which would negatively impact website performance, or alternatively, could introduce malicious code into the minified output, potentially leading to further security breaches.

The vulnerability aligns with CWE-352, which specifically addresses Cross-Site Request Forgery weaknesses in software applications, and corresponds to ATT&CK technique T1213.002 related to data from local system repositories. Attackers exploiting this vulnerability can potentially degrade website performance or introduce malicious content through compromised minification processes, affecting not only the plugin's intended functionality but also the overall security posture of the WordPress installation. The lack of nonce validation creates a persistent risk that remains active until the plugin is updated to include proper request verification mechanisms.

Organizations should immediately implement mitigations including updating to the latest plugin version that includes nonce validation, implementing additional security measures such as two-factor authentication for administrators, and monitoring for unauthorized changes to plugin configurations. The recommended approach involves verifying that all plugin functions requiring administrative privileges properly validate nonce tokens and implementing proper access controls to prevent unauthorized modifications to critical system settings. Regular security audits of WordPress plugins should include verification of nonce implementation to prevent similar vulnerabilities from persisting in the ecosystem.

Responsible

Wordfence

Reservation

01/23/2026

Disclosure

03/21/2026

Moderation

accepted

CPE

ready

EPSS

0.00016

KEV

no

Activities

very low

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!