Hundreds of thousands of pages have been modified to include malicious scripting in the wake of SQL injection attacks on an enormous scale.