Mozilla is set to patch a flaw in Firefox that can be exploited when the program is sent malicious data by Internet Explorer (IE).