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.
{
"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"
}
]
}