{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-50492 exists.","fix":"No fix has been published for CVE-2024-50492 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-50492 is a high-severity code injection vulnerability in ScottCart, published on 28 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-50492 and fix it if it is affected.\n\nWhat it is: CVE-2024-50492 is a high-severity code injection vulnerability in ScottCart, published on 28 Oct 2024. 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-2024-50492 exists.\n\nAffected product: ScottCart. 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-50492/ (Markdown: https://insights.sbomify.com/CVE-2024-50492/index.md)","id":"CVE-2024-50492","markdown":"https://insights.sbomify.com/CVE-2024-50492/index.md","name":"CVE-2024-50492","record":{"aliases":["GHSA-m3r3-r24f-8hj4"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Attackers can execute arbitrary code via code injection in the ScottCart WordPress plugin, requiring an upgrade to secure the site.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Patchstack","cpe":[{"product":"scottcart","vendor":"wpplugin"}],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Improper Control of Generation of Code ('Code Injection') vulnerability in Scott Paterson ScottCart scottcart allows Code Injection.This issue affects ScottCart: from n/a through \u003c= 1.1.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-03-26","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-03-26T02:27:01Z","kind":"github_poc","ref":"https://github.com/Nxploited/CVE-2024-50492","stars":1,"title":"ScottCart \u003c= 1.1 - Unauthenticated Remote Code Execution"}],"tier":"weaponised"},"has_fix":null,"headline":"WordPress ScottCart plugin \u003c= 1.1 - Remote Code Execution (RCE) vulnerability","id":"CVE-2024-50492","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"WordPress Automatic Translation plugin \u003c= 1.0.4 - Arbitrary File Upload vulnerability","id":"CVE-2024-50493"},"packages":[],"prev":{"headline":"WordPress RSVP ME plugin \u003c= 1.9.9 - SQL Injection vulnerability","id":"CVE-2024-50491"},"products":["ScottCart"],"published":"2024-10-28","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-11","vendors":["Scott Paterson"]},"summary":"Attackers can execute arbitrary code via code injection in the ScottCart WordPress plugin, requiring an upgrade to secure the site.","url":"https://insights.sbomify.com/CVE-2024-50492/"}