# CVE-2024-6872: Build Your Dream Website Fast with 400+ Starter Templates and Landing Pages, No Coding Needed, One-Click Import for Elementor & Gutenberg Blocks! – TemplateSpare <= 2.4.2 - Missing Authorization to Authenticated (Subscriber+) Theme Update

- Severity: Medium 4.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-02)
- Published: 2024-08-03T11:37:38.535Z
- Modified: 2026-06-17T08:18:52.843Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- templatespare TemplateSpare – 1000+ WordPress Starter Templates & Full Site Migration Tool | 1-Click Import/Export & No-Code Builder: up to 2.4.2
- templatespare templatespare: before 2.4.3

## Every score

- Wordfence: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/a0c74807-b85c-478e-bebf-1f0b46a21c11?source=cve> (third-party-advisory)
- <https://plugins.trac.wordpress.org/browser/templatespare/trunk/includes/templatespare-kit.php#L13> (product)
- <https://plugins.trac.wordpress.org/browser/templatespare/trunk/includes/templatespare-kit.php#L34> (product)
- <https://plugins.trac.wordpress.org/changeset/3129809/> (patch)

## Sources

- CVE List: [CVE-2024-6872](https://www.cve.org/CVERecord?id=CVE-2024-6872), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-6872](https://nvd.nist.gov/vuln/detail/CVE-2024-6872), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-6872 · Whole record: https://cve.day/CVE-2024-6872.json · Rebuilt by cve.day 2026-11-25T22:58:43.589Z
