The problem is, when searching for high-level executives, you're not competing against other NGOs, you're competing with the wide free market - and salaries there are, frankly, out of control and have been so for decades [1]. Either Mozilla Foundation plays the dirty game just like everyone else does, or they go out of business.
It's the system that's broken at a fundamental level, not individual actors.