{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-6872 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-6872 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-6872 is a medium-severity missing authorization vulnerability in TemplateSpare – 1000+ WordPress Starter Templates \u0026 Full Site Migration Tool | 1-Click Import/Export \u0026 No-Code Builder, published on 3 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-6872 and fix it if it is affected.\n\nWhat it is: CVE-2024-6872 is a medium-severity missing authorization vulnerability in TemplateSpare – 1000+ WordPress Starter Templates \u0026 Full Site Migration Tool | 1-Click Import/Export \u0026 No-Code Builder, published on 3 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-6872 in the wild and no public exploit code.\n\nAffected product: TemplateSpare – 1000+ WordPress Starter Templates \u0026 Full Site Migration Tool | 1-Click Import/Export \u0026 No-Code Builder. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-6872/ (Markdown: https://insights.sbomify.com/CVE-2024-6872/index.md)","id":"CVE-2024-6872","markdown":"https://insights.sbomify.com/CVE-2024-6872/index.md","name":"CVE-2024-6872","record":{"aliases":["GHSA-jpjp-f6hh-7rpq"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_modify","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"low_privilege","summary":"Authenticated subscribers can activate arbitrary themes or break site functionality due to missing capability checks in the TemplateSpare plugin.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[{"product":"templatespare","vendor":"templatespare"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"The Build Your Dream Website Fast with 400+ Starter Templates and Landing Pages, No Coding Needed, One-Click Import for Elementor \u0026 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Missing authorization in TemplateSpare – 1000+ WordPress Starter Templates \u0026 Full Site Migration Tool | 1-Click Import/Export \u0026 No-Code Builder","id":"CVE-2024-6872","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":0,"n_references":4,"next":{"headline":"Specially crafted request could caused undefined behaviour which may lead to Remote Code Execution.","id":"CVE-2024-6873"},"packages":[],"prev":{"headline":"G DATA Total Security Incorrect Permission Assignment Local Privilege Escalation Vulnerability","id":"CVE-2024-6871"},"products":["TemplateSpare – 1000+ WordPress Starter Templates \u0026 Full Site Migration Tool | 1-Click Import/Export \u0026 No-Code Builder"],"published":"2024-08-03","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-08","vendors":["templatespare"]},"summary":"Authenticated subscribers can activate arbitrary themes or break site functionality due to missing capability checks in the TemplateSpare plugin.","url":"https://insights.sbomify.com/CVE-2024-6872/"}