Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Templatespare | Templatespare | < 2.4.3 |
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/templatespare/trunk/includes/templateProduct
- https://plugins.trac.wordpress.org/browser/templatespare/trunk/includes/templateProduct
- https://plugins.trac.wordpress.org/changeset/3129809/Patch
- https://www.wordfence.com/threat-intel/vulnerabilities/id/a0c74807-b85c-478e-bebThird Party Advisory
FAQ
What is CVE-2024-6872?
CVE-2024-6872 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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...
How severe is CVE-2024-6872?
CVE-2024-6872 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-6872?
Check the references section above for vendor advisories and patch information. Affected products include: Templatespare Templatespare.