CVE-2022-31187 Stored Cross Site Scripting (XSS) through global search in GLPI

Medium 6.8 Published Updated

Attackers can inject malicious scripts via global search in GLPI, potentially leading to session hijacking or code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-31187?

CVE-2022-31187 is a medium-severity cross-site scripting vulnerability in Glpi-Project Glpi, published on 14 Sep 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

GLPI stands for Gestionnaire Libre de Parc Informatique and is a Free Asset and IT Management Software package, that provides ITIL Service Desk features, licenses tracking and software auditing. Affected versions were found to not properly neutralize HTML tags in the global search context. Users are advised to upgrade to version 10.0.3 to resolve this issue. Users unable to upgrade should disable global search.

Weakness: CWE-79

Which versions are affected by CVE-2022-31187?

It affects 1 product.

Products include Glpi-Project Glpi.

How do I fix CVE-2022-31187?

No fix has been published for CVE-2022-31187 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2022-31187 being exploited?

There is no known exploitation of CVE-2022-31187 in the wild and no public exploit code.

All Glpi-Project Glpi vulnerabilities

Sources

Also known as GHSA-43j5-xhvj-9236, UBUNTU-CVE-2022-31187.

Is CVE-2022-31187 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free