Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPost benign comment to get author approved
-
DeliverySubmit script payload via 'comment' parameter
-
ExploitWordPress auto-approves repeat-author comment
-
ExecutionPayload stored and served on page
-
ImpactScript executes in visitor/admin browser
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 | Two concrete, attacker-navigable preconditions must both hold: (1) the plugin's URL rewriting mode must be active, i.e. hmwp_mode set to a non-default value - this is an operator configuration choice, not the default state; and (2) the attacker must already have one previously approved comment under the same author name/email, which triggers WordPress's built-in auto-approval for repeat commenters so the malicious comment bypasses moderation. Limiting factors that reduce real-world risk: the non-default configuration requirement means default installs are not affected, the prior-approved-comment requirement adds a setup step and ties the attack to a reusable identity, and the payload only fires when a user actually loads the injected page. Authentication is not required (CVSS PR:N), so this is unauthenticated in the WordPress sense, but it is not exploitable against an out-of-the-box default configuration. |
| Impact | The signals point to a moderate, conditional risk rather than an emergency. The input CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, base 7.2 High) treats this as a network, no-privilege, no-interaction stored XSS with a scope change, but that AC:L understates the real preconditions: the description states exploitation requires the plugin's URL rewriting mode to be active (hmwp_mode set to a non-default value) AND that the attacker already hold one previously approved comment from the same author/email so WordPress auto-approves the malicious comment. Those are genuine gating conditions, which is why my own assessment raises Attack Complexity to High. No EPSS score and no KEV status were supplied, and the product is not in CISA KEV, so there is no evidence of active exploitation - treat the absence of EPSS/KEV as missing data, not as a clean bill of health. No SSVC exploitation/automatable/technical-impact decision was provided beyond the vendor-style priority label 'this_week', which aligns with a real but non-emergency fix window. Net: a credible stored-XSS issue in a widely installed plugin that is meaningfully constrained by the required non-default configuration and the prior-approved-comment prerequisite, so it is a plan-and-patch priority rather than a drop-everything one. |
| Exploit ScenarioDerived | An attacker who has previously posted one approved comment (same name/email) on a target site running the plugin with URL rewriting mode enabled submits a new comment whose 'comment' parameter contains a script payload; because WordPress auto-approves repeat commenters, the payload is stored without moderation. The malicious script then executes in the browser of any user - including administrators - who subsequently views the affected page. No public exploit was identified at time of analysis, though the Wordfence advisory and the referenced source lines document the vulnerable code paths. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Stored cross-site scripting in the Hide My WP Ghost - Security & Firewall WordPress plugin (all versions up to and including 7.0.15) lets an attacker place arbitrary script into the 'comment' parameter, which then executes in the browser of anyone viewing the injected page. The CVSS base score is 7.2, but exploitation is conditional: the site must have the plugin's URL rewriting mode enabled (hmwp_mode set to a non-default value) and the attacker must already hold one previously approved comment under the same author name and email, which causes WordPress to auto-approve the malicious follow-up comment without moderation. Authentication is not required per the CVSS vector (PR:N), and no public exploit has been identified at time of analysis; the priority signal places this in the 'this_week' handling window rather than an emergency. Note that the submitting source scored the vector as AC:L while our independent assessment treats the combined configuration and prior-comment prerequisites as AC:H, so default, out-of-the-box installations are not exposed.
RemediationAI
An upstream fix is indicated by the referenced plugin changeset (https://plugins.trac.wordpress.org/changeset?reponame=&old=3773758%40hide-my-wp&new=3773758%40hide-my-wp), but a released patched version is not independently confirmed in the available data, so verify the currently published plugin version against the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/449e9346-c316-46f6-9a44-e211a9794030?source=cve) before upgrading, and update through the WordPress.org plugin installer once a fixed build is listed. Because the two exploitation gates are under operator control, interim mitigations map directly onto them: first, take the plugin out of URL rewriting mode (return hmwp_mode to its default value) where that is operationally acceptable, which removes the vulnerable code path at the cost of losing the plugin's URL masking feature; second, close the auto-approval route by requiring moderation for all comments or restricting commenting on untrusted pages, accepting the moderation workload and reduced engagement this implies; third, audit and prune existing approved commenter identities that were never intended to persist. Restricting access to comment endpoints or adding a WAF rule for script payloads in comment fields can reduce exposure but will not fix the underlying escaping defect, which is why updating the plugin remains the complete fix.
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 flaw is a classic CWE-79 cross-site scripting case in a WordPress plugin: the 'comment' parameter reaches persistent storage with insufficient input sanitization and is later rendered into a page without adequate output escaping, so the injected script is served to subsequent visitors. The referenced source locations - models/Rewrite.php (lines 118, 2566, 2778, 2795, 2880), controllers/Rewrite.php (line 510) and classes/Tools.php (line 1022) in tag 7.0.14 - point to the plugin's URL rewriting machinery, which is exactly the subsystem that must be active (hmwp_mode non-default) for the vulnerable path to be reachable; that code-adjacency is corroborated by the description tying exploitation to rewriting mode. The second gate is WordPress core behaviour rather than a plugin bug: WordPress auto-approves comments from an identity that already has an approved comment, so the attacker establishes reputation once and then submits the payload without moderator review. Because exploitation depends on an operator configuration choice plus a pre-existing approved comment tied to a reusable identity, and because the payload only fires when a user actually loads the injected page, our assessed vector is AC:H rather than AC:L. The CPE entry (cpe:2.3:a:johndarrel:hide_my_wp_ghost_-_security_&_firewall) confirms the affected package is the johndarrel-published Hide My WP Ghost plugin distributed through the WordPress.org plugin directory.
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
Network-reachable and needs no account (PR:N), but success depends on a non-default rewrite mode plus a prior approved comment, so AC:H; stored XSS executes in victims' browsers (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (Wordfence).
CVSS VectorNVD
DescriptionNVD
The Hide My WP Ghost - Security & Firewall plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 7.0.15 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 accesses an injected page. Successful exploitation requires that the plugin's URL rewriting mode is active (hmwp_mode set to a non-default value) and that the attacker has one previously approved comment from the same author/email address, after which WordPress auto-approves the attack comment without moderator intervention.
Executive ViewAI
A stored cross-site scripting vulnerability in the Hide My WP Ghost WordPress plugin (versions up to 7.0.15) allows attackers to inject malicious scripts that execute in visitors' browsers, but only under specific conditions: the plugin's URL rewriting must be enabled and the attacker must have a previously approved comment. This could lead to session hijacking, data theft, or malware distribution, affecting site visitors and administrators. Leadership should prioritize remediation within the week to prevent potential reputational damage and user trust erosion.
Disable the plugin's URL rewriting mode (set hmwp_mode to default) and enforce comment moderation to require manual approval for all comments; restrict comment privileges to trusted users.
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 AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
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
EUVD-2026-136732
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB