CGIEmail's Cross Site Scripting Vulnerability (cgicso)

Summary
The remote web server contains a CGI which is vulnerable to a cross site scripting vulnerability. Description : The remote web server contains the 'CGIEmail' CGI, a web based form to send emails. The remote version of this software contains a vulnerability caused by inadequate processing of queries by CGIEmail's cgicso that results in a cross site scripting condition.
Solution
Modify cgilib.c to contain a stripper function that will remove any HTML or JavaScript tags.