{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2018-1999022 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-1999022 is a critical code injection vulnerability in n/a, published on 23 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-1999022 and fix it if it is affected.\n\nWhat it is: CVE-2018-1999022 is a critical code injection vulnerability in n/a, published on 23 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-1999022 in the wild and no public exploit code.\n\nAffected product: n/a. 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-1999022/ (Markdown: https://insights.sbomify.com/CVE-2018-1999022/index.md)","id":"CVE-2018-1999022","markdown":"https://insights.sbomify.com/CVE-2018-1999022/index.md","name":"CVE-2018-1999022","record":{"aliases":["CVE-2018-1000212","DEBIAN-CVE-2018-1999022","GHSA-ppg7-5cr7-7v24","MGASA-2019-0049","UBUNTU-CVE-2018-1999022"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP form library","requires_auth":"none","summary":"Attackers can execute arbitrary code, read data, or modify data via crafted query strings in the PEAR HTML_QuickForm library.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"civicrm","vendor":"civicrm"},{"product":"html_quickform","vendor":"html_quickform_project"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"PEAR HTML_QuickForm version 3.2.14 contains an eval injection (CWE-95) vulnerability in HTML_QuickForm's getSubmitValue method, HTML_QuickForm's validate method, HTML_QuickForm_hierselect's _setOptions method, HTML_QuickForm_element's _findValue method, HTML_QuickForm_element's _prepareValue method. that can result in Possible information disclosure, possible impact on data integrity and execution of arbitrary code. This attack appear to be exploitable via A specially crafted query string could be utilised, e.g. http://www.example.com/admin/add_practice_type_id[1]=fubar%27])%20OR%20die(%27OOK!%27);%20//\u0026mode=live. This vulnerability appears to have been fixed in 3.2.15.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Code injection in n/a","id":"CVE-2018-1999022","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2018"},"n_packages":0,"n_references":2,"next":{"headline":"Code injection in n/a","id":"CVE-2018-1999023"},"packages":[],"prev":{"headline":"Gleez Cms Cross-site Scripting in Profile Page","id":"CVE-2018-1999021"},"products":["n/a"],"published":"2018-07-23","related":[{"cvss_score":8.8,"headline":"File upload in n/a","id":"CVE-2020-36388","kev_date_added":null,"published":"2021-06-17"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2013-5957","kev_date_added":null,"published":"2013-11-27"},{"cvss_score":6.5,"headline":"CiviCRM SQL injection vulnerability via Quick Search API","id":"CVE-2013-4662","kev_date_added":null,"published":"2014-01-29"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2025-65187","kev_date_added":null,"published":"2025-12-02"},{"cvss_score":5.8,"headline":"Weak cryptography in n/a","id":"CVE-2011-5239","kev_date_added":null,"published":"2012-11-06"},{"cvss_score":5.4,"headline":"Cross-site scripting in n/a","id":"CVE-2023-25440","kev_date_added":null,"published":"2023-05-23"}],"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-09-16","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code, read data, or modify data via crafted query strings in the PEAR HTML_QuickForm library.","url":"https://insights.sbomify.com/CVE-2018-1999022/"}