Skip to content
Laskyr

CVE-2026-126039: Hide My WP Ghost stored cross-site scripting (XSS) vulnerability

published 2026-11-21 · updated 2026-11-23

Not scored yet

Fixed in Hide My WP Ghost 7.0.19

Hide My WP Ghost older than 7.0.19 is affected by this stored XSS issue. Sites on 7.0.19 or newer are not affected; the latest release is 7.0.22.

Affected versions
older than 7.0.19
Fixed in
7.0.19
Latest version
7.0.22
Active installs
100,000+
Type
Stored cross-site scripting (XSS)

What to do now

  1. Update Hide My WP Ghost to 7.0.19 or newer (the latest is 7.0.22): Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. Not sure which version you run? Check your version against every known Hide My WP Ghost issue. With WP-CLI: wp plugin get hide-my-wp --field=version.
  5. If you ran an affected version and something looks off (new admin users, spam pages, redirects), run the free scan below.

Is your site exposed to CVE-2026-126039?

  1. Are you on an affected version? Compare your Hide My WP Ghost version with every known issue on record. Check my version
  2. Has your site already been hit? The free scan looks for signs of a hack from the outside. It cannot see plugin versions or test for this bug.
  3. Already hacked? Flat $499 for a standard cleanup. Nothing is charged until we have looked at your site and confirmed the job. See how cleanup works

What an attacker needs

Technical details

Weakness

Stored cross-site scripting (XSS) CWE-79

Text an attacker supplies is saved by the software and later shown to other people without being made safe, so their browser runs it as script.

The script runs as whoever views the page. If that is an administrator, it can act with their access, for example by creating accounts or changing settings.

General description of this issue type. The advisory below covers this bug.

The advisory

The Hide My WP Ghost WordPress plugin before 7.0.19 does not limit one of its HTML output rewriting patterns to the markup it targets, allowing unauthenticated attackers to inject HTML attributes through a comment author name that execute as Stored XSS for any visitor, including logged-in administrators, on pages that list recent comments.

Description from the CVE record, published by WPScan (the CVE Numbering Authority), via the NVD entry for CVE-2026-126039.

References

How Laskyr cleans up a site hacked through Hide My WP Ghost

We confirm the job by email before any payment, remove the infection, harden the site and report how they got in. A standard cleanup is $499 with a 30-day reinfection guarantee. Bigger jobs get a written estimate first, and nothing more is charged unless you approve it. Full details.

Related

Ran an affected version? Run the free scan for signs of a hack.

Where this data comes from

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit

The box is optional and does not affect the kit. Privacy policy.