Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-6872: CWE-862 Missing Authorization in templatespare TemplateSpare – 1000+ WordPress Starter Templates & Full Site Migration Tool | 1-Click Import/Export & No-Code Builder

0
Medium
VulnerabilityCVE-2024-6872cvecve-2024-6872cwe-862
Published: Sat Aug 03 2024 (08/03/2024, 11:37:38 UTC)
Source: CVE Database V5
Vendor/Project: templatespare
Product: TemplateSpare – 1000+ WordPress Starter Templates & Full Site Migration Tool | 1-Click Import/Export & No-Code Builder

Description

The Build Your Dream Website Fast with 400+ Starter Templates and Landing Pages, No Coding Needed, One-Click Import for Elementor & Gutenberg Blocks! – TemplateSpare plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the 'templatespare_activate_required_theme' and 'templatespare_get_theme_status' functions in all versions up to, and including, 2.4.2. This makes it possible for authenticated attackers, with Subscriber-level access and above, to activate any installed theme and read any theme status. If the attacker attempts to activate a theme that is not installed, a non-existent theme with the slug chosen by the attacker will be considered the active theme, leaving the site with no theme functionality.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 15:01:17 UTC

Technical Analysis

CVE-2024-6872 is a missing authorization vulnerability (CWE-862) in the TemplateSpare WordPress plugin (versions up to 2.4.2). The functions 'templatespare_activate_required_theme' and 'templatespare_get_theme_status' lack proper capability checks, enabling authenticated users with low privileges (Subscriber or above) to activate any installed theme and read theme status information. Activating a non-existent theme slug causes the site to lose theme functionality. This vulnerability allows unauthorized modification of theme activation state but does not disclose sensitive data or allow denial of service beyond theme disruption.

Potential Impact

An attacker with Subscriber-level access can modify the active theme on the WordPress site without proper authorization, potentially disrupting site appearance and functionality. There is no direct confidentiality or availability impact beyond the theme activation disruption. No known exploits are reported in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, restrict Subscriber-level access or higher to trusted users only. Monitor for plugin updates from TemplateSpare that address this authorization issue and apply them promptly once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-07-18T00:05:26.595Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6c0eb7ef31ef0b55f6e2

Added to database: 2/25/2026, 9:39:26 PM

Last enriched: 4/9/2026, 3:01:17 PM

Last updated: 4/12/2026, 3:42:52 PM

Views: 20

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses