CVE-2022-24868: Cross site scripting via SVG file upload in GLPI
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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-24868?
CVE-2022-24868 is rated as a critical vulnerability due to its potential for JavaScript injection via SVG file uploads.
How do I fix CVE-2022-24868?
To fix CVE-2022-24868, update to GLPI version 10.0.0 or later to ensure proper sanitization of uploaded SVG files.
What impact does CVE-2022-24868 have on users?
CVE-2022-24868 allows attackers to inject malicious JavaScript into user avatars, potentially compromising the affected users.
Which versions of GLPI are affected by CVE-2022-24868?
CVE-2022-24868 affects all GLPI versions prior to 10.0.0.
Is it safe to upload SVG files in GLPI after patching for CVE-2022-24868?
Yes, after updating to GLPI version 10.0.0 or later, it is safe to upload SVG files as they will be properly sanitized.