{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-7046 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-7046 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-7046 is a high-severity code injection vulnerability in Kentico Xperience, published on 20 Feb 2018. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-7046 and fix it if it is affected.\n\nWhat it is: CVE-2018-7046 is a high-severity code injection vulnerability in Kentico Xperience, published on 20 Feb 2018. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-7046 in the wild and no public exploit code.\n\nAffected product: Kentico Xperience. 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-2018-7046/ (Markdown: https://insights.sbomify.com/CVE-2018-7046/index.md)","id":"CVE-2018-7046","markdown":"https://insights.sbomify.com/CVE-2018-7046/index.md","name":"CVE-2018-7046","record":{"aliases":["GHSA-c9vh-h87x-7r85"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Kentico CMS","requires_auth":"high_privilege","summary":"Authenticated users can execute arbitrary OS commands via C# code injection in the CMS template editor, though the vendor claims this is intended functionality.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"xperience","vendor":"kentico"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Arbitrary code execution vulnerability in Kentico 9 through 11 allows remote authenticated users to execute arbitrary operating system commands in a dynamic .NET code evaluation context via C# code in a \"Pages -\u003e Edit -\u003e Template -\u003e Edit template properties -\u003e Layout\" box.  NOTE: the vendor has responded that there is intended functionality for authorized users to edit and update ascx code layout","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":"Code injection in n/a","id":"CVE-2018-7046","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"kentico:xperience","products":["kentico:xperience"],"type":"code_injection","year":"2018"},"n_packages":0,"n_references":1,"next":{"headline":"Hardcoded credentials in n/a","id":"CVE-2018-7047"},"packages":[],"prev":{"headline":"Integer overflow in n/a","id":"CVE-2018-7039"},"products":["n/a"],"published":"2018-02-20","related":[{"cvss_score":9.8,"headline":"Kentico Xperience CMS Authentication Bypass Using an Alternate Path or Channel","id":"CVE-2025-2746","kev_date_added":"2025-10-20","published":"2025-03-24"},{"cvss_score":9.8,"headline":"Kentico Xperience CMS Authentication Bypass Using an Alternate Path or Channel","id":"CVE-2025-2747","kev_date_added":"2025-10-20","published":"2025-03-24"},{"cvss_score":9.8,"headline":"Kentico Xperience Deserialization of Untrusted Data","id":"CVE-2019-10068","kev_date_added":"2022-03-25","published":"2019-03-26"},{"cvss_score":7.2,"headline":"Kentico Xperience Path Traversal","id":"CVE-2025-2749","kev_date_added":"2026-04-20","published":"2025-03-24"},{"cvss_score":9.8,"headline":"Missing authorization in n/a","id":"CVE-2017-17736","kev_date_added":null,"published":"2018-03-23"},{"cvss_score":9.1,"headline":"Missing authorization in n/a","id":"CVE-2019-12102","kev_date_added":null,"published":"2019-05-22"},{"cvss_score":8.8,"headline":"File upload in n/a","id":"CVE-2018-19453","kev_date_added":null,"published":"2019-04-10"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Authenticated users can execute arbitrary OS commands via C# code injection in the CMS template editor, though the vendor claims this is intended functionality.","url":"https://insights.sbomify.com/CVE-2018-7046/"}