CVE-2022-24868 Cross site scripting via SVG file upload in GLPI

High 7.3 Published Updated

Attackers can inject JavaScript via SVG avatars in GLPI, leading to cross-site scripting attacks against other users.

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-24868?

CVE-2022-24868 is a high-severity cross-site scripting vulnerability in Glpi-Project Glpi, published on 21 Apr 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 is a Free Asset and IT Management Software package, that provides ITIL Service Desk features, licenses tracking and software auditing. In versions prior to 10.0.0 one can exploit a lack of sanitization on SVG file uploads and inject javascript into their user avatar. As a result any user viewing the avatar will be subject to a cross site scripting attack. Users of GLPI are advised to upgrade. Users unable to upgrade should disallow SVG avatars.

Weakness: CWE-79

Which versions are affected by CVE-2022-24868?

It affects 1 product.

Products include Glpi-Project Glpi.

How do I fix CVE-2022-24868?

No fix has been published for CVE-2022-24868 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-24868 being exploited?

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

All Glpi-Project Glpi vulnerabilities

Sources

Also known as GHSA-9hg4-fpwv-gx78.

Is CVE-2022-24868 in your software?

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

Check your SBOMs for free