CGI versions before 5.00 for Perl allow HTML injection via text containing --> in comment.
Arguments are placed between without escaping, so text containing --> closes the comment early.
An application that passes request data to comment can be made to inject HTML into the page.
Upgrade to CGI 5.00 or later.