{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-27622 exists.","fix":"No fix has been published for CVE-2024-27622 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-27622 is a high-severity code injection vulnerability in Cmsmadesimple Cms Made Simple, published on 5 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-27622 and fix it if it is affected.\n\nWhat it is: CVE-2024-27622 is a high-severity code injection vulnerability in Cmsmadesimple Cms Made Simple, published on 5 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-27622 exists.\n\nAffected product: Cmsmadesimple Cms Made Simple. 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-27622/ (Markdown: https://insights.sbomify.com/CVE-2024-27622/index.md)","id":"CVE-2024-27622","markdown":"https://insights.sbomify.com/CVE-2024-27622/index.md","name":"CVE-2024-27622","record":{"aliases":["GHSA-fg3w-vv3r-vrgh"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"CMS Made Simple plugin","requires_auth":"high_privilege","summary":"Authenticated administrators can execute arbitrary PHP code via unsanitized input in the User Defined Tags module of CMS Made Simple.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cms_made_simple","vendor":"cmsmadesimple"}],"cvss":{"score":7.2,"severity":"high","source":"cisa-adp","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-94","name":"Improper Control of Generation of Code"},{"id":"CWE-75","name":"Failure to Sanitize Special Elements into a Different Plane"}],"description":"A remote code execution vulnerability has been identified in the User Defined Tags module of CMS Made Simple version 2.2.19 / 2.2.21. This vulnerability arises from inadequate sanitization of user-supplied input in the 'Code' section of the module. As a result, authenticated users with administrative privileges can inject and execute arbitrary PHP code.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"Code injection in n/a","id":"CVE-2024-27622","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"cmsmadesimple:cms_made_simple","products":["cmsmadesimple:cms_made_simple"],"type":"code_injection","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Code injection in n/a","id":"CVE-2024-27623"},"packages":[],"prev":{"headline":"Server-side request forgery in n/a","id":"CVE-2024-27620"},"products":["n/a"],"published":"2024-03-05","related":[{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2010-4663","kev_date_added":null,"published":"2011-06-08"},{"cvss_score":9.8,"headline":"Unrestricted Upload of File with Dangerous Type in CMS Made Simple","id":"CVE-2024-1527","kev_date_added":null,"published":"2024-03-12"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2018-10081","kev_date_added":null,"published":"2018-04-13"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2018-10085","kev_date_added":null,"published":"2018-04-13"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2017-1000453","kev_date_added":null,"published":"2018-01-02"},{"cvss_score":9.8,"headline":"Information disclosure in n/a","id":"CVE-2017-17734","kev_date_added":null,"published":"2017-12-18"},{"cvss_score":9.8,"headline":"Information disclosure in n/a","id":"CVE-2017-17735","kev_date_added":null,"published":"2017-12-18"}],"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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-19","vendors":["n/a"]},"summary":"Authenticated administrators can execute arbitrary PHP code via unsanitized input in the User Defined Tags module of CMS Made Simple.","url":"https://insights.sbomify.com/CVE-2024-27622/"}