{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-6872","published":"2024-08-03T12:15:17.160000Z","last_modified":"2026-06-17T08:18:52.843000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-862"],"cpes":[{"criteria":"cpe:2.3:a:templatespare:templatespare:*:*:*:*:*:wordpress:*:*","part":"a","vendor":"templatespare","product":"templatespare","version_end_excluding":"2.4.3"}],"cpes_truncated":false,"vendors":["templatespare"],"products":["templatespare/templatespare"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00619,"percentile":0.44055,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2024-6872/","html_en":"/en/cve/CVE-2024-6872/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-6872","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-6872"},"untrusted":{"vendor_name":"Templatespare","product_name":"Templatespare","desc_en":"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.","affected":[{"untrusted_vendor":"templatespare","untrusted_product":"TemplateSpare – 1000+ WordPress Starter Templates & Full Site Migration Tool | 1-Click Import/Export & No-Code Builder","versions":[]}],"references":[{"url":"https://plugins.trac.wordpress.org/browser/templatespare/trunk/includes/templatespare-kit.php#L13","tags":["Product"]},{"url":"https://plugins.trac.wordpress.org/browser/templatespare/trunk/includes/templatespare-kit.php#L34","tags":["Product"]},{"url":"https://plugins.trac.wordpress.org/changeset/3129809/","tags":["Patch"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/a0c74807-b85c-478e-bebf-1f0b46a21c11?source=cve","tags":["Third Party Advisory"]}]}}