{"id":"CVE-2020-10797","details":"An XSS vulnerability resides in the hostname field of the diag_ping.php page in pfsense before 2.4.5 version. After passing inputs to the command and executing this command, the $result variable is not sanitized before it is printed.","modified":"2026-07-08T20:58:04.175329Z","published":"2020-04-29T14:15:16.967Z","references":[{"type":"ADVISORY","url":"https://docs.netgate.com/pfsense/en/latest/releases/2-4-5-new-features-and-changes.html"},{"type":"REPORT","url":"https://redmine.pfsense.org/issues/10355"},{"type":"FIX","url":"https://github.com/pfsense/pfsense/commit/cc3990a334059018b004c91eeb66c147d8afe83d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pfsense/pfsense","events":[{"introduced":"0"},{"fixed":"f8ac7bdc5abf70eee923844abe0a8b18d9c735f3"},{"fixed":"cc3990a334059018b004c91eeb66c147d8afe83d"}],"database_specific":{"cpe":"cpe:2.3:a:netgate:pfsense:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.4.5"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v2.4.4_3","v2.4.4_2","v2.4.4_1","v2.4.4","RELENG_2_2_BETA","Root_RELENG_1_2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-10797.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}