---
id: "CVE-2022-35914"
kind: "vulnerability"
aliases: ["CVE-2022-35914"]
title: "glpi-project glpi: /vendor/htmlawed/htmlawed/htmLawedTest.php in the htmlawed module for GLPI through 10.0.2 allows PHP code injection"
severity: "critical"
cvss: 9.8
epss: null
exploited: true
status: "open"
category: "package"
products: [{"name": "Teclib GLPI", "fixed": [], "affected": "", "ecosystem": "vendor"}, {"name": "glpi-project glpi", "fixed": [], "affected": "<= 10.0.2", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["exploited", "glpi", "package", "php", "self-hosted"]
not_affected_if: ["managed-hosting"]
published_at: "2022-09-19T16:15:11+00:00"
first_seen_at: "2026-10-23T19:11:52+00:00"
updated_at: "2026-10-23T22:29:04+00:00"
sources: [{"source": "kev", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2022-35914", "first_seen_at": "2026-10-23T19:11:52+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-35914", "first_seen_at": "2026-10-23T22:29:04+00:00"}]
---

# glpi-project glpi: /vendor/htmlawed/htmlawed/htmLawedTest.php in the htmlawed module for GLPI through 10.0.2 allows PHP code injection

Teclib GLPI, an IT asset management and helpdesk web application, bundles the htmlawed PHP library, which has a flaw allowing remote code execution. An attacker who can send crafted input to a vulnerable GLPI instance can run code on the server.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:Teclib GLPI affected ? fixed ?
- vendor:glpi-project glpi affected <= 10.0.2 fixed ?

## Fix

Apply the GLPI update per vendor instructions, as CISA requires; the fixed version is unknown from the sources.
Check the GLPI version under Setup > General in the admin UI and compare it against the vendor advisory.

## Timeline

- 2026-10-23T19:11:52+00:00 kev https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2022-35914
- 2026-10-23T22:29:04+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2022-35914

## From the sources

Teclib GLPI contains a remote code execution vulnerability in the third-party library, htmlawed.

CISA required action: Apply updates per vendor instructions.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
