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
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 Analysis
Technical Summary
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.
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.