Cross-site scripting (XSS) vulnerability in AMAX Magic Winmail Server 4.2 (build 0824) and earlier allows remote attackers to inject arbitrary web script or HTML via the (1) retid parameter in badlogin.php, (2) Content-Type headers in HTML mails, and (3) HTML mail attachments.
http://www.vupen.com/english/advisories/2005/2485
http://www.securityfocus.com/bid/15493
http://secunia.com/secunia_research/2005-58/advisory/
http://secunia.com/advisories/16665
http://archives.neohapsis.com/archives/fulldisclosure/2005-11/0580.html