Vulnerability record · CVE-2022-35914 · published 19 September 2022
CVE-2022-35914: GLPI htmlawed Test Script PHP Code Injection
Glpi Project · Glpi
The htmLawed test script shipped inside GLPI up to 10.0.2 allows PHP code injection through the htmlawed module. Because the vulnerable file is reachable over the network without authentication, it exposes GLPI installations to remote code execution.
Description
/vendor/htmlawed/htmlawed/htmLawedTest.php in the htmlawed module for GLPI through 10.0.2 allows PHP code injection.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityUnauthenticated remote code execution with a CVSS of 9.8, KEV listing, and near-maximum EPSS makes this an urgent patch-first issue.
What it is
The htmLawed test script shipped inside GLPI up to 10.0.2 allows PHP code injection through the htmlawed module. Because the vulnerable file is reachable over the network without authentication, it exposes GLPI installations to remote code execution.
Impact
An unauthenticated attacker can execute arbitrary PHP code on the server, leading to full compromise of the GLPI host and any data it holds.
Attack surface
Reached over the network via the exposed htmLawedTest.php path; the CVSS vector shows no privileges or user interaction required.
Exploitation
CISA added it to KEV on 2023-03-07, EPSS is 0.9988 (99.9th percentile), and public exploit references exist, so active exploitation should be assumed.
What to do
- Upgrade GLPI to 10.0.3 or later, which removes or fixes the vulnerable htmLawed test script.
- If immediate upgrade is not possible, block or remove access to /vendor/htmlawed/htmlawed/htmLawedTest.php at the web server or WAF.
- Restrict network exposure of GLPI management interfaces to trusted networks only.
- After patching, review server logs and file integrity for signs of prior compromise.
Detection
- Monitor web logs for requests to /vendor/htmlawed/htmlawed/htmLawedTest.php, especially with unusual parameters.
- Alert on PHP process spawning unexpected child processes or outbound connections from the GLPI server.
- Check for newly created or modified PHP files under the GLPI web root.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2022-35914 to the Known Exploited Vulnerabilities catalog on 7 March 2023 as "Teclib GLPI Remote Code Execution Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 28 March 2023.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2022-35914 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-35914), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.