{"id":"CVE-2020-10797","aliases":["CVE-2020-10797"],"related":[],"kind":"vulnerability","state":"published","title":"An XSS vulnerability resides in the hostname field of the diagping.php page in pfsense before 2.4.5 version.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de tipo XSS reside en el campo hostname de la página diag_ping.php en pfsense versiones anteriores a 2.4.5. Después de pasar las entradas al comando y ejecutar este comando, la variable $result  no es saneada antes de ser impresa.","source":"nvd"}],"published":"2020-04-29T13:29:52.000Z","modified":"2026-06-17T02:48:27.387Z","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","fixed":"2.4.5"}],"vendor":"netgate","product":"pfsense","cpe":"cpe:2.3:a:netgate:pfsense:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://redmine.pfsense.org/issues/10355","tags":["issue-tracking","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pfsense/pfsense/commit/cc3990a334059018b004c91eeb66c147d8afe83d","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://docs.netgate.com/pfsense/en/latest/releases/2-4-5-new-features-and-changes.html","tags":["release-notes","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-10797","url":"https://www.cve.org/CVERecord?id=CVE-2020-10797","licence":"CVE Terms of Use","modified":"2024-08-04T11:14:15.605Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-10797","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10797","licence":"Public domain","modified":"2026-06-17T02:48:27.387Z"}],"updatedAt":"2026-11-25T22:57:52.222Z","epss":{"score":0.02391,"percentile":0.84431,"date":"2026-12-01T12:00:22.000Z"}}