{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-2662 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-2662 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-2662 is a high-severity command injection vulnerability in unitecms Unlimited Elements For Elementor, published on 10 May 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-2662 and fix it if it is affected.\n\nWhat it is: CVE-2024-2662 is a high-severity command injection vulnerability in unitecms Unlimited Elements For Elementor, published on 10 May 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-2662 in the wild and no public exploit code.\n\nAffected product: unitecms Unlimited Elements For Elementor. 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-2662/ (Markdown: https://insights.sbomify.com/CVE-2024-2662/index.md)","id":"CVE-2024-2662","markdown":"https://insights.sbomify.com/CVE-2024-2662/index.md","name":"CVE-2024-2662","record":{"aliases":["GHSA-p557-3fgh-xgcq"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"high_privilege","summary":"Authenticated administrators can execute arbitrary commands on the server via insufficient filtering of template attributes in the Unlimited Elements plugin.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[{"product":"unlimited_elements_for_elementor","vendor":"unlimited-elements"}],"cvss":{"score":7.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"The Unlimited Elements For Elementor (Free Widgets, Addons, Templates) plugin for WordPress is vulnerable to command injection in all versions up to, and including, 1.5.102. This is due to insufficient filtering of template attributes during the creation of HTML for custom widgets This makes it possible for authenticated attackers, with administrator-level access and above, to execute arbitrary commands on the server.","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":"Command injection in Unlimited Elements For Elementor","id":"CVE-2024-2662","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"ZD YouTube FLV Player \u003c= 1.2.6 - Server-Side Request Forgery","id":"CVE-2024-2663"},"packages":[],"prev":{"headline":"Barcode Scanner with Inventory \u0026 Order Manager \u003c= 1.5.4 - Authenticated (Subscriber+) SQL Injection","id":"CVE-2024-2661"},"products":["Unlimited Elements For Elementor"],"published":"2024-05-10","related":[{"cvss_score":9.9,"headline":"WordPress Unlimited Elements For Elementor plugin \u003c= 1.5.60 - Unrestricted Zip Extraction vulnerability","id":"CVE-2023-31090","kev_date_added":null,"published":"2024-04-24"},{"cvss_score":9.9,"headline":"File upload in Unlimited Elements For Elementor (Free Widgets, Addons, Templates)","id":"CVE-2023-31231","kev_date_added":null,"published":"2023-12-20"},{"cvss_score":9.1,"headline":"Deserialization in Unlimited Elements For Elementor (Free Widgets, Addons, Templates)","id":"CVE-2024-49271","kev_date_added":null,"published":"2024-10-16"},{"cvss_score":9.1,"headline":"WordPress Unlimited Elements For Elementor plugin \u003c= 1.5.66 - Unrestricted Zip Extraction vulnerability","id":"CVE-2023-33930","kev_date_added":null,"published":"2024-06-04"},{"cvss_score":8.8,"headline":"SQL injection in Unlimited Elements For Elementor","id":"CVE-2024-5329","kev_date_added":null,"published":"2024-06-06"},{"cvss_score":8.8,"headline":"Unlimited Elements for Elementor \u003c= 1.5.89 - Authenticated(Contributor+) Remote Code Execution via template import","id":"CVE-2023-6743","kev_date_added":null,"published":"2024-05-29"},{"cvss_score":8.8,"headline":"Unlimited Elements for Elementor \u003c= 1.5.107 - Authenticated (Contributor+) SQL Injection via data[post_ids][0]","id":"CVE-2024-4779","kev_date_added":null,"published":"2024-05-23"}],"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":"total"},"state":"PUBLISHED","updated":"2026-04-08","vendors":["unitecms"]},"summary":"Authenticated administrators can execute arbitrary commands on the server via insufficient filtering of template attributes in the Unlimited Elements plugin.","url":"https://insights.sbomify.com/CVE-2024-2662/"}