How to clean Javascript malware

Today I fixed a site infected with malware.
According to publicwww, so far aprox. 2894 sites are affected by malware. This is a good indicator that this malware was propagated a while ago ( several weeks ).

Need help? Let us clean your site.

Note: Make sure you backup everything before attempting to perform a cleanup.

Quick steps:

1. First thing I noticed was the site URL and home were altered.
To reset site URL, check this article:
If you can edit wp-config.php file, add this code ( replace with your own domain name ).

define( 'WP_HOME', '' );
define( 'WP_SITEURL', '' );

2. Second make sure all core files, plugins and themes are overwritten with fresh content.

3. Lastly make sure there are no cross-site contamination risks.

Try our Free site check.

Malicious URLs: