What’s Vulnerable › Vulnerabilities
CVE-2020-10797
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-04-29 · updated 2026-06-17
- Weakness: CWE-79
Description
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.
Affected products
- Netgate pfSense: before 2.4.5 — fixed in 2.4.5
How to fix
Upgrade to a fixed version: Netgate pfSense 2.4.5. Check the vendor advisory for mitigations.
References
- https://docs.netgate.com/pfsense/en/latest/releases/2-4-5-new-features-and-changes.html
- https://github.com/pfsense/pfsense/commit/cc3990a334059018b004c91eeb66c147d8afe83d
- https://redmine.pfsense.org/issues/10355
- https://docs.netgate.com/pfsense/en/latest/releases/2-4-5-new-features-and-changes.html
- https://github.com/pfsense/pfsense/commit/cc3990a334059018b004c91eeb66c147d8afe83d
- https://redmine.pfsense.org/issues/10355
Get alerted when CVE-2020-10797 or the next vulnerability affects your stack