Description
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.
Published: 2026-10-16
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

Impact

The Hide My WP Ghost – Security & Firewall plugin for WordPress contains a stored Cross‑Site Scripting flaw caused by insufficient input sanitization and output escaping in the replaceHeadersAndTags function. This allows an unauthenticated attacker to inject arbitrary web scripts that will execute when a page containing the stored content is viewed, potentially exposing site visitors to malicious code.

Affected Systems

WordPress sites using the Hide My WP Ghost – Security & Firewall plugin from johndarrel, versions up to and including 7.0.12 are affected.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.2, indicating a high severity level. The EPSS score is <1%, suggesting a very low exploit probability, and it is not listed in the CISA KEV catalog. An attacker can exploit the flaw without authentication by submitting malicious content that is stored and subsequently rendered to other users.

Generated by OpenCVE AI on October 16, 2026 at 15:56 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Hide My WP Ghost to version 7.0.13 or later so that the input sanitization and output escaping bug is fixed.
  • If a patch cannot be applied immediately, remove or disable the comment feature that accepts untrusted input to prevent new malicious content from being stored.
  • Implement a Content Security Policy or a simple XSS filter that blocks execution of inline scripts in comment content until the plugin is updated.

Generated by OpenCVE AI on October 16, 2026 at 15:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 05:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Hide My WP Ghost <= 7.0.12 - Unauthenticated Stored Cross-Site Scripting via Comment Content
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-16T14:39:04.042Z

Reserved: 2026-09-10T17:14:06.242Z

Link: CVE-2026-89051

cve-icon Vulnrichment

Updated: 2026-10-16T14:34:24.259Z

cve-icon NVD

Status : Deferred

Published: 2026-10-16T06:17:12.167

Modified: 2026-10-16T15:17:33.813

Link: CVE-2026-89051

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T16:00:12Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')