Description
WordPress Plugin WP Maintenance Mode is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. WordPress Plugin WP Maintenance Mode version 2.2.3 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 2.2.4 or latest
References
https://github.com/Designmodocom/WP-Maintenance-Mode/issues/176
https://plugins.svn.wordpress.org/wp-maintenance-mode/trunk/readme.txt
Related Vulnerabilities
WordPress Improper Access Control Vulnerability (CVE-2015-5623)
Dot CMS URL Redirection to Untrusted Site ('Open Redirect') Vulnerability (CVE-2018-17422)
PHP Integer Overflow or Wraparound Vulnerability (CVE-2018-14883)
WordPress Plugin Slimstat Analytics Cross-Site Scripting (0.9.2)
Drupal Inefficient Regular Expression Complexity Vulnerability (CVE-2022-24729)