CVE-2021-21312

MediumCVSS 4.8/10Last modified Jun 17, 2026

Description

GLPI is open source software which stands for Gestionnaire Libre de Parc Informatique and it is a Free Asset and IT Management Software package. In GLPI before verison 9.5.4, there is a vulnerability within the document upload function (Home > Management > Documents > Add, or /front/document.form.php endpoint), indeed one of the form field: "Web Link" is not properly sanitized and a malicious user (who has document upload rights) can use it to deliver JavaScript payload. For example if you use the following payload: " accesskey="x" onclick="alert(1)" x=", the content will be saved within the database without any control. And then once you return to the summary documents page, by clicking on the "Web Link" of the newly created file it will create a new empty tab, but on the initial tab the pop-up "1" will appear.

Metrics

CVSS 3.1 4.8/10CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Mar 3, 2021
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-213136.1GLPI is open source software which stands for Gestionnaire Libre de Parc Informatique and it is a Free Asset and IT Management Software packCVE-2021-213144.8GLPI is open source software which stands for Gestionnaire Libre de Parc Informatique and it is a Free Asset and IT Management Software packCVE-2021-213157.8The System Information Library for Node.JS (npm package "systeminformation") is an open source collection of functions to retrieve detailed CVE-2021-213167.8less-openui5 is an npm package which enables building OpenUI5 themes with Less.js. In less-openui5 before version 0.10., when processing theCVE-2021-213175.3uap-core in an open-source npm package which contains the core of BrowserScope's original user agent string parser. In uap-core before versiCVE-2021-213185.4Opencast is a free, open-source platform to support the management of educational audio and video content. In Opencast before version 9.2 thCVE-2021-213195.4Galette is a membership management web application geared towards non profit organizations. In versions prior to 0.9.5, malicious javascriptCVE-2021-213204.3matrix-react-sdk is an npm package which is a Matrix SDK for React Javascript. In matrix-react-sdk before version 3.15.0, the user content sCVE-2021-2132110.0fastify-reply-from is an npm package which is a fastify plugin to forward the current http request to another server. In fastify-reply-from CVE-2021-213229.8fastify-http-proxy is an npm package which is a fastify plugin for proxying your http requests to another server, with hooks. By crafting a CVE-2021-213235.3Brave is an open source web browser with a focus on privacy and security. In Brave versions 1.17.73-1.20.103, the CNAME adblocking feature aCVE-2021-213246.5GLPI is an open-source asset and IT management software package that provides ITIL Service Desk features, licenses tracking and software aud
CVE-2021-21312: Medium severity, CVSS 4.8 | Vulnix