source: https://www.securityfocus.com/bid/14373/info

Netquery is affected by multiple remote vulnerabilities. These issues can allow remote attackers to execute arbitrary commands, disclose sensitive information and carry out cross-site scripting attacks.

Netquery 3.1 is affected by these vulnerabilities.

http://www.example.com/[path]/portlist.php?portnum=<script>alert(document.cookie)</script>