Title: javascript code appears in headers
Last modified: August 30, 2016

---

# javascript code appears in headers

 *  [santbirsingh](https://wordpress.org/support/users/santbirsingh/)
 * (@santbirsingh)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/javascript-code-appears-in-headers/)
 * Hi I have multiple websites with wordpress and I am facing problem. I am scanning
   my cpanel and found all header files of wordpress websites are infected. I removed
   the code from header files manually and saved it and after that I scanned I files
   again then virus was disappear. But It coming back on next day. I am removing
   that code again but same thing after one day its coming back.
 * I tried following things
 * 1. tried changing password.
    2. tried fresh installation and dump old database.
 * but still same issue the header file compromised again.
    please help me someone.
 * site link is jiyagroup.org
 * regards
    Santbeer

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/javascript-code-appears-in-headers/#post-6845214)
 * It’s coming back because you’re only removing the symptom, not the malware that’s
   putting it there.
 * Remain calm and carefully follow [this guide](https://codex.wordpress.org/FAQ_My_site_was_hacked).
   When you’re done, you may want to implement some (if not all) of [the recommended security measures](https://codex.wordpress.org/Hardening_WordPress).

Viewing 1 replies (of 1 total)

The topic ‘javascript code appears in headers’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/javascript-code-appears-in-headers/#post-6845214)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
