Hide My WP Ghost <= 7.0.15 - Unauthenticated Stored Cross-Site Scripting via Comment Content
- State
- Published
- Severity
- 7.2 High
- Published
- Nov 26, 2026
- Updated
- Nov 26, 2026
- Reserved
- Oct 29, 2026
Description
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.
| Product | Versions |
|---|---|
| Hide My WP Ghost – Security & Firewall johndarrel | 7.0.15 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.2 High | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/449e9346-c316-46f6-9a44-e211a9794030?source=cve
- https://plugins.trac.wordpress.org/browser/hide-my-wp/tags/7.0.14/models/Rewrite.php#L2880
- https://plugins.trac.wordpress.org/browser/hide-my-wp/tags/7.0.14/models/Rewrite.php#L2778
- https://plugins.trac.wordpress.org/browser/hide-my-wp/tags/7.0.14/models/Rewrite.php#L2795
- https://plugins.trac.wordpress.org/browser/hide-my-wp/tags/7.0.14/models/Rewrite.php#L118
- https://plugins.trac.wordpress.org/browser/hide-my-wp/tags/7.0.14/models/Rewrite.php#L2566
- https://plugins.trac.wordpress.org/browser/hide-my-wp/tags/7.0.14/controllers/Rewrite.php#L510
- https://plugins.trac.wordpress.org/browser/hide-my-wp/tags/7.0.14/classes/Tools.php#L1022
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3773758%40hide-my-wp&new=3773758%40hide-my-wp
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.