---
id: CVE-2026-89051
title: >-
  Hide My WP Ghost <= 7.0.12 - Unauthenticated Stored Cross-Site Scripting via
  Comment Content
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'
cvssSource: cna
cwe:
  - CWE-79
vendor: johndarrel
product: Hide My WP Ghost – Security & Firewall
affected:
  - hide_my_wp_ghost_security_firewall <= 7.0.12
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T14:34:23.082534Z'
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T14:39:04.042Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-89051'
references:
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/94724ff1-d3a7-4d9d-9423-a0e795360c95?source=cve
  - 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
tags:
  - cve.org
epss: 0.0019
epssPercentile: 0.08112
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.

## Affected

- `hide_my_wp_ghost_security_firewall <= 7.0.12`

## Remediation

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