Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify site running vulnerable WP Ghost ≤7.0.12
-
DeliverySubmit crafted input to replaceHeadersAndTags
-
ExploitPayload stored without sanitization
-
ExecutionVictim clicks injected link
-
ImpactScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
EUVD-2026-102674
GHSA-hvxm-vpq4-3qxh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB