Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-10797

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-10797
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:48 UTC · Revision 1

Source evidence

CVE-2020-10797

core-osv · Original source

Published 29 Apr 2020, 14:15 UTC

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.

osv:CVE-2020-10797
Complete source record
{
  "id": "464b9a61abab5c056d623d48ed6a8b8b9d6940d972c1809ca16aea493aa03b1b",
  "url": "https://osv.dev/vulnerability/CVE-2020-10797",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-10797",
    "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.",
    "evidence": "osv:CVE-2020-10797",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-10797",
      "aliases": [
        "CVE-2020-10797"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pfsense/pfsense",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f8ac7bdc5abf70eee923844abe0a8b18d9c735f3"
                },
                {
                  "fixed": "cc3990a334059018b004c91eeb66c147d8afe83d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:netgate:pfsense:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.4.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "cc3990a334059018b004c91eeb66c147d8afe83d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "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"
          }
        }
      ],
      "modified": "2026-10-20T10:51:44.910145066Z",
      "provider": "osv",
      "references": [
        "https://docs.netgate.com/pfsense/en/latest/releases/2-4-5-new-features-and-changes.html",
        "https://redmine.pfsense.org/issues/10355",
        "https://github.com/pfsense/pfsense/commit/cc3990a334059018b004c91eeb66c147d8afe83d"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-10797",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 382856,
  "published_at": "2020-04-29T14:15:16.967+00:00"
}