Back to Guides
Guide3 December 2026

What is the latest WordPress vulnerability and how can you fix it?

Decloak is an AI-powered web security intelligence platform that scans a site's HTTP/TLS posture, JavaScript, and third-party scripts to produce a report anyone can read. This guide is part of Decloak's library of practical, source-backed security guidance.

In this guide
  1. Key takeaways
  2. What is the newest WordPress vulnerability?
  3. How does the Spectra XSS vulnerability work?
  4. Who is at risk?
  5. What immediate steps should you take?
  6. How can you confirm the vulnerability is fixed?
  7. What if you cannot update Spectra immediately?
  8. Where can I find more details?
  9. When should I schedule regular scans?
  10. Summary

Key takeaways

What is the newest WordPress vulnerability?

The newest publicly disclosed WordPress - related flaw is a reflected cross - site scripting issue in the Spectra Gutenberg block plugin, identified as CVE - 2024 - 10484. It affects all Spectra releases up to and including 2.16.2.

How does the Spectra XSS vulnerability work?

An attacker who has contributor or higher privileges can craft a malicious block that includes JavaScript payload. When a logged - in visitor views the page containing that block, the script executes in the visitor’s browser, allowing the attacker to steal cookies, hijack sessions, or perform actions as the victim.

Who is at risk?

Any WordPress site that:

What immediate steps should you take?

  1. Check your Spectra version - Log in to WordPress, go to Plugins → Installed Plugins, and locate Spectra. The version number appears under the plugin name.
  2. Update the plugin - Click “Update now” to install version 2.16.3 or later. If auto - updates are enabled, the patch may already be applied.
  3. Verify the update - After updating, revisit the Plugins page and confirm the version number shows 2.16.3+.
  4. Test for residual XSS - Use a free external scanner like Decloak (free scan runs in about 15 seconds) to capture a live page load and confirm no reflected XSS is reported for Spectra blocks.
  5. Review contributor permissions - Limit who can add or edit Gutenberg blocks. If possible, restrict the block editor to trusted roles only.

How can you confirm the vulnerability is fixed?

What if you cannot update Spectra immediately?

add_filter('user_has_cap', function($allcaps){
 if (isset($allcaps['edit_posts']) && !current_user_can('manage_options')) {
 $allcaps['use_block_editor_for_post'] = false;
 }
 return $allcaps;
}, 10, 0);

Where can I find more details?

The vulnerability was reported in Sucuri’s “Vulnerability & Patch Roundup - December 2024” (published 7 Jan 2025). The official CVE entry (CVE - 2024 - 10484) provides additional technical references.

When should I schedule regular scans?

Because plugins update frequently, run a weekly free scan with Decloak or enable scheduled scans in a paid plan. Decloak’s network traffic capture shows exactly which third - party domains your pages contact, helping you spot new malicious scripts early.

Summary

The Spectra reflected XSS (CVE - 2024 - 10484) is the latest WordPress - related risk. Updating to Spectra 2.16.3 or later, tightening contributor permissions, and verifying the fix with a scanner eliminates the threat.


Related reading: That jQuery You Added in 2019 Is Still Running: How Decloak Finds Vulnerable Libraries and Server Software

Free security scan

See what's actually exposed on your site.

Decloak's free scan runs in about 15 seconds, no account required, and covers:

  • HTTP/TLS security posture
  • JavaScript CVEs
  • Exposed Supabase/Lovable/Base44 misconfigurations
  • AI-written executive summary