---
id: CVE-2026-89051
title: >-
  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
  sanitizat…
summary: >-
  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
  sanitizat…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: johndarrel
product: Hide My WP Ghost – Security & Firewall
affected:
  - hide_my_wp_ghost_security_firewall <= 7.0.12
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:17:33.813'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89051'
references:
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&new=3745418%40hide-my-wp%2Ftags%2F7.0.13&old=3726247%40hide-my-wp%2Ftags%2F7.0.12
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/94724ff1-d3a7-4d9d-9423-a0e795360c95?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
epss: 0.0019
epssPercentile: 0.08591
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T14:34:23.082534Z'
ingestedAt: '2026-10-16T06:00:00.390Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
