Conditional Maintenance Mode for WordPress <= 1.0.0 - Cross-Site Request Forgery

Cross-Site Request Forgery (CSRF)
CVE CVE-2025-12586
CVSS Medium (4.3)
Publicly Published November 24, 2025
Last Updated December 2, 2025
Researcher dayea song
Description

The Conditional Maintenance Mode for WordPress plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0.0. This is due to missing nonce validation when toggling the maintenance mode status. This makes it possible for unauthenticated attackers to enable or disable the site's maintenance mode via a forged request granted they can trick an administrator into performing an action such as clicking on a link.

References

1 affected software package

Software Type Plugin
Software Slug maintenance-mode-based-on-user-roles (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.0.0
Patched Version
  • 2.0.0
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.