I have lost count of the number of times I have read reviewers telling people that they should switch to Firefox because it is secure, unlike Internet Explorer. This is simply untrue. Mozilla-based browsers are somewhat more secure than IE, for two main reasons: one, they don't support ActiveX controls (although with Service Pack 2, the likelihood of being attacked by an ActiveX control has dropped dramatically); and two, because most virus/spyware writers have historically targeted the IE platform. But the more successful Mozilla/Firefox becomes, the more likely it is that bad guys will start targeting it too. Over time you will see more alerts like this one:
SecurityTracker.com Archives - Mozilla Buffer Overflow in Processing NNTP URLs Lets Remote Users Execute Arbitrary Code
This vulnerability is fixed in the version of Mozilla that forms the core of Firefox 1.0, so don't worry if you're running the released version of Firefox.)
Virtually every virus and spyware attack in recent memory has taken advantage of a vulnerability for which there was a patch. Windows users who conscientiously apply patches and security updates (a painless process using Automatic Updates) don't get hit. Those who ignore updates become victims.
Firefox does script. It uses buffers. Most viruses and many spyware programs use buffer overflows and hostile scripts to force unwanted software onto users' machines. If you install a copy of Firefox and then don't update it when a security patch comes out, you are vulnerable to these exploits.
The programmers who put together Firefox have done a remarkable job. But I guarantee you they are on the lookout for reports like this one. When (not if) someone discovers a critical flaw in Firefox, they'll write a patch. Will all 14 million people who have downloaded Firefox 1.0 also install each new patch? We'll see.
Source: Ed Bott