{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2022-35914 in the wild since at least 7 Mar 2023.","fix":"No fix has been published for CVE-2022-35914 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 28 Mar 2023.","what":"CVE-2022-35914 is a critical code injection vulnerability in Glpi-Project Glpi, published on 19 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-35914 and fix it if it is affected.\n\nWhat it is: CVE-2022-35914 is a critical code injection vulnerability in Glpi-Project Glpi, published on 19 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2022-35914 in the wild since at least 7 Mar 2023.\n\nAffected product: Glpi-Project Glpi. 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-2022-35914/ (Markdown: https://insights.sbomify.com/CVE-2022-35914/index.md)","id":"CVE-2022-35914","markdown":"https://insights.sbomify.com/CVE-2022-35914/index.md","name":"CVE-2022-35914","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"GLPI ITSM","requires_auth":"none","summary":"An attacker can inject and execute arbitrary PHP code via the htmlawed module in GLPI, potentially compromising the server.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"glpi","vendor":"glpi-project"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"/vendor/htmlawed/htmlawed/htmLawedTest.php in the htmlawed module for GLPI through 10.0.2 allows PHP code injection.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2022-01-26","github_poc":9,"max_poc_stars":51,"metasploit":1,"nuclei":1,"refs":[{"date":"2022-09-30T16:43:28Z","kind":"github_poc","ref":"https://github.com/cosad3s/CVE-2022-35914-poc","stars":51,"title":null},{"date":"2024-04-24T06:39:10Z","kind":"github_poc","ref":"https://github.com/senderend/CVE-2022-35914","stars":4,"title":"PoC exploit for GLPI - Command injection using a third-party library script"},{"date":"2022-10-09T07:46:58Z","kind":"github_poc","ref":"https://github.com/Lzer0Kx01/CVE-2022-35914","stars":2,"title":null},{"date":"2022-11-06T06:23:14Z","kind":"github_poc","ref":"https://github.com/0xGabe/CVE-2022-35914","stars":2,"title":"Unauthenticated RCE in GLPI 10.0.2"},{"date":"2024-08-25T19:32:59Z","kind":"github_poc","ref":"https://github.com/noxlumens/CVE-2022-35914_poc","stars":2,"title":"Modified for GLPI Offsec Lab: call_user_func, array_map, passthru"},{"date":"2022-10-12T11:42:08Z","kind":"github_poc","ref":"https://github.com/6E6L6F/CVE-2022-35914","stars":1,"title":null},{"date":"2022-01-26","kind":"metasploit","ref":"exploit/linux/http/glpi_htmlawed_php_injection","stars":null,"title":"GLPI htmLawed php command injection"},{"date":"2023-03-07T00:07:28Z","kind":"github_poc","ref":"https://github.com/Johnermac/CVE-2022-35914","stars":0,"title":"Script in Ruby for the CVE-2022-35914 - RCE in GLPI "}],"tier":"exploited"},"has_fix":false,"headline":"Teclib GLPI Remote Code Execution","id":"CVE-2022-35914","indexable":true,"kev":{"dateAdded":"2023-03-07","dueDate":"2023-03-28","knownRansomwareCampaignUse":"Unknown","product":"GLPI","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Teclib","vulnerabilityName":"Teclib GLPI Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"glpi-project:glpi","products":["glpi-project:glpi"],"type":"code_injection","year":"2022"},"n_packages":0,"n_references":7,"next":{"headline":"Unbounded gas consumption in @openzeppelin/contracts","id":"CVE-2022-35915"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2022-35913"},"products":["n/a"],"published":"2022-09-19","related":[{"cvss_score":10,"headline":"GLPI vulnerable to unallowed PHP script execution","id":"CVE-2023-42802","kev_date_added":null,"published":"2023-11-02"},{"cvss_score":10,"headline":"GLPI vulnerable to SQL injection and Stored XSS via inventory agent request","id":"CVE-2023-28849","kev_date_added":null,"published":"2023-04-05"},{"cvss_score":10,"headline":"SQL injection in GLPI","id":"CVE-2022-35947","kev_date_added":null,"published":"2022-09-14"},{"cvss_score":9.8,"headline":"SQL injection with _actor parameter in GLPI","id":"CVE-2022-31056","kev_date_added":null,"published":"2022-06-28"},{"cvss_score":9.8,"headline":"SQL injection on login page in GLPI","id":"CVE-2022-31061","kev_date_added":null,"published":"2022-06-28"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2021-44617","kev_date_added":null,"published":"2022-03-28"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"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":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"An attacker can inject and execute arbitrary PHP code via the htmlawed module in GLPI, potentially compromising the server.","url":"https://insights.sbomify.com/CVE-2022-35914/"}