Skip to main content

WP Ghost CVE-2026-89051

| EUVDEUVD-2026-102674 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-10-16 Wordfence GHSA-hvxm-vpq4-3qxh
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify site running vulnerable WP Ghost ≤7.0.12
  2. Delivery
    Submit crafted input to replaceHeadersAndTags
  3. Exploit
    Payload stored without sanitization
  4. Execution
    Victim clicks injected link
  5. Impact
    Script executes in victim browser (hijack session/actions)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target site to run WP Ghost (Hide My WP Ghost) version 7.0.12 or earlier with the affected code path reachable; the attacker needs no authentication (PR:N) to inject the payload via the 'replaceHeadersAndTags' function. The key limiting factor, per the description, is that payload execution depends on a victim clicking the injected link - i.e., user interaction is effectively needed to trigger the script despite the CVSS vector stating UI:N. Impact is confined to the victim's browser context (no availability impact); there is no indication a specific non-default plugin configuration is required.

Impact

This is a stored (persistent) XSS (CWE-79) in the WP Ghost / Hide My WP Ghost WordPress security plugin, reported by Wordfence, a credible source for WordPress vulnerability intelligence. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, base 7.2 High) indicates remote, low-complexity, unauthenticated exploitation with a scope change and partial confidentiality/integrity impact. However, there is a direct conflict between the CVSS vector and the description: the vector encodes UI:N (no user interaction), yet the description states the script executes 'whenever a user clicks on the injected link,' which implies user interaction (UI:R) is actually required - this should be verified, as it materially lowers real-world risk. No EPSS score, CISA KEV listing, SSVC decision data, or POC was supplied in the input; absence of these is not evidence either way, but there is no signal of active exploitation or published exploit code. Net assessment: a genuine and prioritizable issue for sites running the affected plugin because injection is unauthenticated, but it is not an automatable, no-interaction remote-code-execution-class flaw - impact is limited to script execution in a victim's browser (C:L/I:L, A:N) and, per the description, likely gated behind a victim clicking a crafted link. Treat as a prompt-patch item rather than an emergency.

Exploit ScenarioDerived

An unauthenticated attacker submits input that is stored and later rendered unsanitized by the plugin's 'replaceHeadersAndTags' function, planting a malicious script in a page. When a visitor or administrator clicks the injected link, the script runs in their browser session, enabling session/cookie theft, redirection, or actions performed as the victim. No public exploit code was identified in the provided data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 16, 2026

Stored cross-site scripting in the WP Ghost (Hide My WP Ghost) - Security & Firewall plugin for WordPress versions up to and including 7.0.12 lets unauthenticated attackers inject arbitrary web scripts through the plugin's replaceHeadersAndTags function, which performs insufficient input sanitization and output escaping; the injected payload persists and executes in a victim's browser when they click the crafted link, with impact limited to that victim's session (no availability impact). Exploitation requires the affected code path to be reachable on a site running 7.0.12 or earlier, but no authentication (CVSS PR:N) and no special non-default plugin configuration; although the published CVSS 3.1 vector scores UI:N, the practical trigger is a victim clicking the injected link, which is why our assessment adjusts user interaction to UI:R while keeping the same 7.2 base impact. The vendor has released a fix in version 7.0.13 (WordPress.org changeset from 7.0.12 to 7.0.13), no public exploit code has been identified and there is no CISA KEV entry indicating active exploitation at time of analysis. Reported by Wordfence, a credible source for WordPress plugin vulnerability intelligence.

RemediationAI

Vendor-released patch: 7.0.13 - upgrade WP Ghost (Hide My WP Ghost) - Security & Firewall from 7.0.12 or earlier to 7.0.13 or later immediately via the WordPress admin Plugins screen or WP-CLI ('wp plugin update hide-my-wp'), then verify the installed version. Update details are in the WordPress.org Trac changeset 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 and the Wordfence advisory https://www.wordfence.com/threat-intel/vulnerabilities/id/94724ff1-d3a7-4d9d-9423-a0e795360c95?source=cve. If immediate patching is not possible, deactivate and delete the plugin as the primary compensating control, accepting the trade-off that its firewall and WordPress-fingerprint-hiding features (header/tag rewriting, login and admin URL obfuscation) will no longer be active and the site's attack surface becomes more visible - pair removal with an alternative WAF. A virtual patch at the edge (WAF or reverse proxy) can block XSS payloads targeting the plugin's request parameters, but signature-based filtering is bypassable and may need tuning; additionally deploy a Content-Security-Policy that disallows inline script and restrict script-src to trusted origins, understanding that strict CSP can break legitimate plugin or theme scripts and must be tested in report-only mode first. Because exploitation is unauthenticated, user-registration limits, CAPTCHAs, or role restrictions do not mitigate the injection path. After upgrading, review logs for prior requests to the plugin's endpoints and for unexpected markup or script content in rendered pages, since successful stored injections may already be persisted in the database and may require manual content cleanup; there is no publicly available exploit code identified at time of analysis, but the patch diff makes the vulnerable function easy to reverse-engineer.

Affected VersionsENISA

Hide My WP Ghost – Security & Firewall 0 ≤7.0.12

Affected Packages

euvd hide_my_wp_ghost_security_firewall no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation / Cross-Site Scripting), specifically a stored (persistent) variant. WP Ghost (slug hide-my-wp, vendor johndarrel) is a WordPress security/firewall plugin whose core purpose is hiding WordPress fingerprints by rewriting outgoing HTTP response headers and HTML markup - the 'replaceHeadersAndTags' routine sits directly in that rewriting path. Because user-supplied data fed into the header/tag replacement logic is neither sanitized on input nor escaped on output, an unauthenticated request can persist script content that the plugin later emits into rendered pages, where it executes in the browser of any user who follows the attacker's link. The CVSS scope change (S:C) reflects that the injected script escapes the plugin's own security context and runs in the context of the site's pages and other users' sessions. The supplied CPE cpe:2.3:a:johndarrel:hide_my_wp_ghost_-_security_&_firewall:*:*:*:*:*:*:*:* uses a wildcarded version, so all releases at or below the patched 7.0.13 line should be treated as potentially affected pending confirmation against the plugin changelog. No specific non-default configuration is required per available data.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Unauthenticated network injection (AV:N/AC:L/PR:N) with scope change to the browser (S:C) and limited C/I; UI:R chosen because the description requires a victim to click the injected link.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A high-severity stored cross-site scripting flaw in the WP Ghost (Hide My WP Ghost) security and firewall plugin affects every WordPress site running version 7.0.12 or earlier, allowing an unauthenticated attacker to plant persistent malicious script that then runs in the browsers of ordinary visitors and logged-in administrators. The irony of a security plugin introducing this exposure matters commercially: affected organizations may have believed the plugin was hardening their sites, when in fact an administrator whose session is hijacked can hand an attacker full control of the site, its content, and its customer data. Leadership should treat this as a trust and brand risk across the entire WordPress estate until every instance is confirmed remediated.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis by the vulnerability feed, although the technical description references a fix in WP Ghost 7.0.13 that must be independently confirmed before relying on it. Interim mitigations: disable or uninstall the plugin where not essential; apply WAF/virtual-patching rules blocking malformed input to the replaceHeadersAndTags function; scan and clean stored content for injected scripts; restrict or monitor administrator sessions and rotate credentials and salts. Apply the confirmed vendor patch (7.0.13 or later) as soon as its availability is verified.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
popular WordPress security plugin, large but plugin-scoped install base
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

CVE-2024-50498 CRITICAL POC
10.0 Oct 28

Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy