Hide My WP Ghost <= 7.0.15 - Unauthenticated Stored Cross-Site Scripting via Comment Content
The Hide My WP Ghost – Security & Firewall plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 7.0.15 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires that the plugin's URL rewriting mode is active (hmwp_mode set to a non-default value) and that the attacker has one previously approved comment from the same author/email address, after which WordPress auto-approves the attack comment without moderator intervention.