{"answers":{"affected":"2 open source packages ship an affected version, including craftcms/cms. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-41892 exists.","fix":"Upgrade craftcms/cms to 4.4.15 or later.","what":"CVE-2023-41892 is a critical code injection vulnerability in Craftcms Craft Cms, published on 13 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-41892 and fix it if it is affected.\n\nWhat it is: CVE-2023-41892 is a critical code injection vulnerability in Craftcms Craft Cms, published on 13 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-41892 exists.\n\nAffected packages and fixed versions:\n- craftcms/cms (Packagist): affected from 4.0.0-RC1; fixed in 4.4.15\n- craftcms/cms (Packagist): affected from 4.0.0-RC1; fixed in 4.4.15\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-2023-41892/ (Markdown: https://insights.sbomify.com/CVE-2023-41892/index.md)","id":"CVE-2023-41892","markdown":"https://insights.sbomify.com/CVE-2023-41892/index.md","name":"CVE-2023-41892","record":{"aliases":["GHSA-4w8r-3xrw-v25g"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Craft CMS","requires_auth":"none","summary":"Attackers can execute arbitrary code on Craft CMS installations, requiring immediate upgrade to mitigate this high-impact vulnerability.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"craft_cms","vendor":"craftcms"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Craft CMS is a platform for creating digital experiences. This is a high-impact, low-complexity attack vector. Users running Craft installations before 4.4.15 are encouraged to update to at least that version to mitigate the issue. This issue has been fixed in Craft CMS 4.4.15.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2023-09-13","github_poc":7,"max_poc_stars":11,"metasploit":1,"nuclei":1,"refs":[{"date":"2023-12-26T18:31:27Z","kind":"github_poc","ref":"https://github.com/0xfalafel/CraftCMS_CVE-2023-41892","stars":11,"title":"Exploit for CVE-2023-41892"},{"date":"2024-01-29T09:12:59Z","kind":"github_poc","ref":"https://github.com/diegaccio/Craft-CMS-Exploit","stars":5,"title":"CVE-2023-41892 Reverse Shell"},{"date":"2023-10-06T01:40:34Z","kind":"github_poc","ref":"https://github.com/zaenhaxor/CVE-2023-41892","stars":3,"title":"CVE-2023-41892 - Craft CMS Remote Code Execution (RCE)"},{"date":"2023-09-13","kind":"metasploit","ref":"exploit/linux/http/craftcms_unauth_rce_cve_2023_41892","stars":null,"title":"Craft CMS unauthenticated Remote Code Execution (RCE)"},{"date":"2024-02-26T18:31:46Z","kind":"github_poc","ref":"https://github.com/acesoyeo/CVE-2023-41892","stars":0,"title":"A Craft CMS vulnerability that allows Remote Code Execution (RCE)."},{"date":"2024-07-27T08:31:18Z","kind":"github_poc","ref":"https://github.com/CERTologists/HTTP-Request-for-PHP-object-injection-attack-on-CVE-2023-41892","stars":0,"title":null},{"date":"2025-08-21T08:21:26Z","kind":"github_poc","ref":"https://github.com/user01-1/CVE-2023-41892_poc","stars":0,"title":"Customized this for my own use"},{"date":"2026-06-30T12:22:11Z","kind":"github_poc","ref":"https://github.com/lyccyc/CVE-2023-41892_PoC","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"Craft CMS Remote Code Execution vulnerability","id":"CVE-2023-41892","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":"craftcms:craft_cms","products":["craftcms:craft_cms"],"type":"code_injection","year":"2023"},"n_packages":2,"n_references":7,"next":{"headline":"Account takeover via auth_callback login in Home Assistant Core","id":"CVE-2023-41893"},"packages":[{"ecosystem":"Packagist","fixed":["4.4.15"],"introduced":["4.0.0-RC1"],"last_affected":[],"package":"craftcms/cms","purl":null,"source":"GHSA-4w8r-3xrw-v25g"},{"ecosystem":"Packagist","fixed":["4.4.15"],"introduced":["4.0.0-RC1"],"last_affected":[],"package":"craftcms/cms","purl":"pkg:composer/craftcms/cms","source":"GHSA-4w8r-3xrw-v25g"}],"prev":{"headline":"FlyteAdmin SQL Injection in List Filters","id":"CVE-2023-41891"},"products":["cms"],"published":"2023-09-13","related":[{"cvss_score":10,"headline":"Craft CMS Code Injection","id":"CVE-2025-32432","kev_date_added":"2026-03-20","published":"2025-04-25"},{"cvss_score":9.3,"headline":"Craft CMS Code Injection","id":"CVE-2024-56145","kev_date_added":"2025-06-02","published":"2024-12-18"},{"cvss_score":8.1,"headline":"Craft CMS Code Injection","id":"CVE-2025-23209","kev_date_added":"2025-02-20","published":"2025-01-18"},{"cvss_score":6.9,"headline":"Craft CMS External Control of Assumed-Immutable Web Parameter","id":"CVE-2025-35939","kev_date_added":"2025-06-02","published":"2025-05-07"},{"cvss_score":9.8,"headline":"Craft CMS Remote Code Injection","id":"CVE-2021-27903","kev_date_added":null,"published":"2021-06-30"},{"cvss_score":9.8,"headline":"SEOmatic for CraftCMS allows Server-Side Template Injection","id":"CVE-2020-9757","kev_date_added":null,"published":"2020-03-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-02-13","vendors":["craftcms"]},"summary":"Attackers can execute arbitrary code on Craft CMS installations, requiring immediate upgrade to mitigate this high-impact vulnerability.","url":"https://insights.sbomify.com/CVE-2023-41892/"}