CVE-2026-119159: Hide My WP Ghost <= 7.0.15 - Unauthenticated Stored Cross-Site Scripting via Comment Content

Published Nov 26, 2026
·
Updated

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 (hmwpmode 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.

Affected Software

1 affected component
WP Ghost Hide My WP Ghost<=7.0.15

Event History

Nov 26, 2026
CVE Published
via MITRE·03:47 PM
Data Sourced
via MITRE·03:47 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Is a default installation affected?

Exploitation requires URL rewriting mode to be active, with hmwp_mode set to a non-default value. The stated attack condition is therefore not met when hmwp_mode remains at its default value.

2

What must an attacker do before submitting a malicious comment?

The attacker must have at least one previously approved comment using the same author name and email address. WordPress then auto-approves the attack comment without moderator intervention.

3

Which sites should be prioritized for review?

Prioritize sites running Hide My WP Ghost version 7.0.15 or earlier that have hmwp_mode set to a non-default value. Sites where prior comments can become approved under a reused author/email identity meet the additional exploitation condition.

4

What can be changed if updating is not immediately possible?

Returning hmwp_mode to its default value removes the URL-rewriting prerequisite described for exploitation. This may affect the site's URL-rewriting behavior, so the operational impact should be evaluated before changing it.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203