Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-119159: high-severity vulnerability (CVSS 7.2) in johndarrel Hide My WP Ghost – Security & Firewall.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 7.2.
Affected products and versions
johndarrel Hide My WP Ghost – Security & Firewall <= 7.0.15
| Product | Versions | Fixed in |
|---|---|---|
| johndarrel Hide My WP Ghost – Security & Firewall | <= 7.0.15 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/449e9346-c316-46f6-9a44-e211a9794030?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/hide-my-wp/tags/7.0.14/models/Rewrite.php#L2880 — CVE Program
- https://plugins.trac.wordpress.org/browser/hide-my-wp/tags/7.0.14/models/Rewrite.php#L2778 — CVE Program
- https://plugins.trac.wordpress.org/browser/hide-my-wp/tags/7.0.14/models/Rewrite.php#L2795 — CVE Program
- https://plugins.trac.wordpress.org/browser/hide-my-wp/tags/7.0.14/models/Rewrite.php#L118 — CVE Program
- https://plugins.trac.wordpress.org/browser/hide-my-wp/tags/7.0.14/models/Rewrite.php#L2566 — CVE Program
- https://plugins.trac.wordpress.org/browser/hide-my-wp/tags/7.0.14/controllers/Rewrite.php#L510 — CVE Program
- https://plugins.trac.wordpress.org/browser/hide-my-wp/tags/7.0.14/classes/Tools.php#L1022 — CVE Program
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3773758%40hide-my-wp&new=3773758%40hide-my-wp — CVE Program
Weaknesses (CWE): CWE-79
Relevant change history
Published
Preliminary advisory published.