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.
{
"cpe": "cpe:2.3:a:netgate:pfsense:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.4.5"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}