{"id":"CVE-2021-25299","aliases":["CVE-2021-25299"],"related":[],"kind":"vulnerability","state":"published","title":"Nagios XI version xi-5.7.5 is affected by cross-site scripting (XSS).","summary":"Nagios XI version xi-5.7.5 is affected by cross-site scripting (XSS). The vulnerability exists in the file /usr/local/nagiosxi/html/admin/sshterm.php due to improper sanitization of user-controlled input. A maliciously crafted URL, when clicked by an admin user, can be used to steal his/her session cookies or it can be chained with the previous bugs to get one-click remote command execution (RCE) on the Nagios XI server.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Nagios XI version xi-5.7.5 is affected by cross-site scripting (XSS). The vulnerability exists in the file /usr/local/nagiosxi/html/admin/sshterm.php due to improper sanitization of user-controlled input. A maliciously crafted URL, when clicked by an admin user, can be used to steal his/her session cookies or it can be chained with the previous bugs to get one-click remote command execution (RCE) on the Nagios XI server.","source":"cvelist"},{"lang":"es","text":"Nagios XI versión xi-5.7.5, esta afectada por una vulnerabilidad de tipo cross-site scripting (XSS).&#xa0;La vulnerabilidad se presenta en el archivo /usr/local/nagiosxi/html/admin/sshterm.php debido a un saneamiento inapropiado de la entrada controlada por el usuario.&#xa0;Una URL maliciosamente, cuando un usuario administrador hace clic en ella, puede ser usada para robar  las cookies de su sesión o puede ser encadenada con los bugs previos para obtener una ejecución de comandos remota (RCE) con un solo clic en el servidor de Nagios XI","source":"nvd"}],"published":"2021-02-15T12:32:03.000Z","modified":"2026-07-09T01:16:47.040Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"5.7.5"}],"vendor":"nagios","product":"nagios_xi","cpe":"cpe:2.3:a:nagios:nagios_xi:5.7.5:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://assets.nagios.com/downloads/nagiosxi/versions.php","tags":["product","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html","tags":["exploit","third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-25299","url":"https://www.cve.org/CVERecord?id=CVE-2021-25299","licence":"CVE Terms of Use","modified":"2026-07-09T00:12:28.161Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-25299","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25299","licence":"Public domain","modified":"2026-07-09T01:16:47.040Z"}],"updatedAt":"2026-11-25T22:57:59.951Z","epss":{"score":0.97714,"percentile":0.99902,"date":"2026-12-01T12:00:22.000Z"}}