{"answers":{"affected":"4 open source packages ship an affected version, including statamic/cms. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-47129 in the wild and no public exploit code.","fix":"Upgrade statamic/cms to a fixed version for your release line: 3.4.13 or 4.33.0.","what":"CVE-2023-47129 is a high-severity vulnerability in statamic cms, published on 10 Nov 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-47129 and fix it if it is affected.\n\nWhat it is: CVE-2023-47129 is a high-severity vulnerability in statamic cms, published on 10 Nov 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-47129 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- statamic/cms (Packagist): affected all versions; fixed in 3.4.13\n- statamic/cms (Packagist): affected all versions; fixed in 3.4.13\n- statamic/cms (Packagist): affected from 4.0.0; fixed in 4.33.0\n- statamic/cms (Packagist): affected from 4.0.0; fixed in 4.33.0\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-47129/ (Markdown: https://insights.sbomify.com/CVE-2023-47129/index.md)","id":"CVE-2023-47129","markdown":"https://insights.sbomify.com/CVE-2023-47129/index.md","name":"CVE-2023-47129","record":{"aliases":["GHSA-72hg-5wr5-rmfc"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Statamic CMS","requires_auth":"none","summary":"Attackers can upload malicious PHP files disguised as images via front-end forms to execute arbitrary code on Statamic CMS installations.","user_interaction":"required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"statamic","vendor":"statamic"}],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"Statmic is a core Laravel content management system Composer package. Prior to versions 3.4.13 and 4.33.0, on front-end forms with an asset upload field, PHP files crafted to look like images may be uploaded. This only affects forms using the \"Forms\" feature and not just _any_ arbitrary form. This does not affect the control panel. This issue has been patched in 3.4.13 and 4.33.0.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2023-11-13","github_poc":1,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-11-13T12:21:52Z","kind":"github_poc","ref":"https://github.com/Cyber-Wo0dy/CVE-2023-47129","stars":3,"title":"Statamic CMS versions \u003c4.33.0 vulnerable to \"Remote Code Execution\" "}],"tier":"poc_unverified"},"has_fix":true,"headline":"Statamic CMS remote code execution via front-end form uploads","id":"CVE-2023-47129","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"file_upload","year":"2023"},"n_packages":4,"n_references":3,"next":{"headline":"Unsafe deserialization of user data in yiisoft/yii","id":"CVE-2023-47130"},"packages":[{"ecosystem":"Packagist","fixed":["3.4.13"],"introduced":["0"],"last_affected":[],"package":"statamic/cms","purl":null,"source":"GHSA-72hg-5wr5-rmfc"},{"ecosystem":"Packagist","fixed":["3.4.13"],"introduced":["0"],"last_affected":[],"package":"statamic/cms","purl":"pkg:composer/statamic/cms","source":"GHSA-72hg-5wr5-rmfc"},{"ecosystem":"Packagist","fixed":["4.33.0"],"introduced":["4.0.0"],"last_affected":[],"package":"statamic/cms","purl":null,"source":"GHSA-72hg-5wr5-rmfc"},{"ecosystem":"Packagist","fixed":["4.33.0"],"introduced":["4.0.0"],"last_affected":[],"package":"statamic/cms","purl":"pkg:composer/statamic/cms","source":"GHSA-72hg-5wr5-rmfc"}],"prev":{"headline":"piccolo SQL Injection via named transaction savepoints","id":"CVE-2023-47128"},"products":["cms"],"published":"2023-11-10","related":[{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2021-45364","kev_date_added":null,"published":"2022-02-10"},{"cvss_score":9.3,"headline":"Statamic is vulnerable to account takeover via password reset link injection","id":"CVE-2026-27593","kev_date_added":null,"published":"2026-02-24"},{"cvss_score":8.8,"headline":"Statamic allows Authenticated Control Panel users to escalate privileges via elevated session bypass","id":"CVE-2026-27939","kev_date_added":null,"published":"2026-02-27"},{"cvss_score":8.8,"headline":"Remote code execution via form uploads in statamic/cms","id":"CVE-2023-48217","kev_date_added":null,"published":"2023-11-14"},{"cvss_score":8.8,"headline":"Statamic framework Incorrect Permission Assignment","id":"CVE-2017-11422","kev_date_added":null,"published":"2017-07-24"},{"cvss_score":8.7,"headline":"Statamic has Stored XSS via SVG Sanitization Bypass","id":"CVE-2026-33172","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":8.7,"headline":"Statamic vulnerable to privilege escalation via stored cross-site scripting","id":"CVE-2026-28426","kev_date_added":null,"published":"2026-02-27"}],"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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-03","vendors":["statamic"]},"summary":"Attackers can upload malicious PHP files disguised as images via front-end forms to execute arbitrary code on Statamic CMS installations.","url":"https://insights.sbomify.com/CVE-2023-47129/"}