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

Published Oct 16, 2026
·
Updated

The WP Ghost (Hide My WP Ghost) – Security & Firewall plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'replaceHeadersAndTags' function in versions up to, and including, 7.0.12 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 clicks on the injected link.

Affected Software

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

Event History

Oct 16, 2026
CVE Published
via MITRE·05:30 AM
Data Sourced
via MITRE·05:30 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Does exploitation require an attacker to have a WordPress account or other privileges?

No. The vulnerability can be exploited by an unauthenticated attacker.

2

When does the injected script execute?

The injected script executes when a user clicks an injected link on an affected page. This requires user interaction, but the attacker does not need privileges to place the malicious content.

3

Which installations should be considered affected, and what version should be used for remediation?

WP Ghost installations running version 7.0.12 or earlier should be considered affected. The referenced plugin changeset identifies version 7.0.13 as the newer version to move to.

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