{"id":"CVE-2021-25299","state":"PUBLISHED","title":"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 o","description":"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.","publishedAt":"2021-02-15T12:32:03.000Z","updatedAt":"2026-07-09T00:12:28.161Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://assets.nagios.com/downloads/nagiosxi/versions.php","https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md","http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:10.461Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/25xxx/CVE-2021-25299.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-25299","state":"PUBLISHED","datePublished":"2021-02-15T12:32:03.000Z","dateUpdated":"2026-07-09T00:12:28.161Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-01-18T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://assets.nagios.com/downloads/nagiosxi/versions.php"},{"url":"https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md"},{"url":"http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html"}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2026-07-04T23:36:44.595Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-25299","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://nagios.com","refsource":"MISC","url":"http://nagios.com"},{"name":"https://assets.nagios.com/downloads/nagiosxi/versions.php","refsource":"MISC","url":"https://assets.nagios.com/downloads/nagiosxi/versions.php"},{"name":"https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md","refsource":"MISC","url":"https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md"},{"name":"http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://assets.nagios.com/downloads/nagiosxi/versions.php","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-07-09T00:12:28.161Z"}}]}}}