{"api_version":"1","generated_at":"2026-07-09T00:51:17+00:00","cve":"CVE-2021-25299","urls":{"html":"https://cve.report/CVE-2021-25299","api":"https://cve.report/api/cve/CVE-2021-25299.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-25299","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-25299"},"summary":{"title":"CVE-2021-25299","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2021-02-15 13:15:12","updated_at":"2026-07-05 00:16:59"},"problem_types":["CWE-79","n/a"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"6.1","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.3","severity":"","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"}}],"references":[{"url":"http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html","name":"http://packetstormsecurity.com/files/161561/Nagios-XI-5.7.5-Remote-Code-Execution.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory","VDB Entry"],"title":"Nagios XI 5.7.5 Remote Code Execution ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://nagios.com","name":"http://nagios.com","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"],"title":"Nagios - Network, Server and Log Monitoring Software","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://assets.nagios.com/downloads/nagiosxi/versions.php","name":"https://assets.nagios.com/downloads/nagiosxi/versions.php","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"],"title":"Nagios XI · Previous Versions","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md","name":"https://github.com/fs0c-sh/nagios-xi-5.7.5-bugs/blob/main/README.md","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"],"title":"nagios-xi-5.7.5-bugs/README.md at main · fs0c-sh/nagios-xi-5.7.5-bugs · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-25299","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25299","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"25299","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"nagios","cpe5":"nagios_xi","cpe6":"5.7.5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2021","cve_id":"25299","cve":"CVE-2021-25299","epss":"0.977140000","percentile":"0.998970000","score_date":"2026-07-05","updated_at":"2026-07-06 00:01:18"},"legacy_qids":[{"cve":"CVE-2021-25299","qid":"375516","title":"Nagios XI 5.7.5 Have Multiple Vulnerabilities"}]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-03T20:03:04.120Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"http://nagios.com"},{"tags":["x_refsource_MISC","x_transferred"],"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"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2026-07-04T23:36:44.595Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"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"}],"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"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2021-25299","datePublished":"2021-02-15T12:32:03.000Z","dateReserved":"2021-01-18T00:00:00.000Z","dateUpdated":"2026-07-04T23:36:44.595Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2021-02-15 13:15:12","lastModifiedDate":"2026-07-05 00:16:59","problem_types":["CWE-79","n/a"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:nagios:nagios_xi:5.7.5:*:*:*:*:*:*:*","matchCriteriaId":"EBFAF29F-D022-4E72-85E6-4642752B2516"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"25299","Ordinal":"1","Title":"CVE-2021-25299","CVE":"CVE-2021-25299","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"25299","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2021-25299"},{"CveYear":"2021","CveId":"25299","Ordinal":"2","NoteData":"2021-02-15","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"25299","Ordinal":"3","NoteData":"2021-02-26","Type":"Other","Title":"Modified"}]}}}