Templatespare: A security weakness
Templatespare is affected by a security weakness. Exploitation requires at least subscriber-level access. The resulting impact depends on how the affected component exposes the vulnerable operation.
- Component
- Templatespare
- Plugin slug
templatespare- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- Aug 03, 2024
- Weakness
- CWE-862 — Missing Authorization
This CVE was published Aug 03, 2024 and is one of 3 known issues for this plugin.
Patch or disable the affected component.
Update Templatespare to a release outside the affected range, or disable and remove it until a fixed version is available.
Technical 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.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N