Mozilla has fixed eight vulnerabilities in Firefox that could lead to cross-site scripting attacks and the execution of arbitrary code.