Auth bypass in Templatespare
CVE-2024-6872
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (23.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 23rd percentile — 23.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.wordfence.com/threat-intel/vulnerabilities/id/a0c74807-b85c-478e-bebf-1f0b4… (Third Party Advisory)
- plugins.trac.wordpress.org/browser/templatespare/trunk/includes/templatespare-k… (Product)
- plugins.trac.wordpress.org/browser/templatespare/trunk/includes/templatespare-k… (Product)
- plugins.trac.wordpress.org/changeset/3129809/ (Patch)
Frequently asked questions
- What is CVE-2024-6872?
- CVE-2024-6872 is a medium-severity vulnerability in Templatespare, classified under Missing Authorization. CVSS score: 4.3/10. Published 2024-08-03.
- How severe is CVE-2024-6872?
- Medium severity. CVSS v3 base score is 4.3 out of 10.
- Is CVE-2024-6872 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.