{"id":4525,"date":"2026-09-29T00:58:22","date_gmt":"2026-09-28T22:58:22","guid":{"rendered":"https:\/\/www.cint-consulting.com\/the-6-most-common-wordpress-hacks-and-how-to-detect-them\/"},"modified":"2026-11-05T22:06:04","modified_gmt":"2026-11-05T21:06:04","slug":"the-6-most-common-wordpress-hacks-and-how-to-detect-them","status":"publish","type":"post","link":"https:\/\/www.cint-consulting.com\/en\/the-6-most-common-wordpress-hacks-and-how-to-detect-them\/","title":{"rendered":"The 6 most common WordPress hacks and how to detect them"},"content":{"rendered":"<p>When we think of a hacked website, we imagine the homepage replaced by a message from the attacker. That hardly happens anymore. Today, attackers want the site to keep running normally so they can exploit it for months without anyone noticing. These are the attacks we find most often on websites built with WordPress, and the signs to detect them.<\/p>\n<h2>1. Backdoors: PHP files where there shouldn&#8217;t be any<\/h2>\n<p>This is the first thing an attacker leaves behind once they gain access: a small hidden PHP file, often in the images folder (<em>wp-content\/uploads<\/em>) or with a name that looks like WordPress. This file allows them to re-enter whenever they want, even if you change passwords or update plugins.<\/p>\n<p>The uploads folder should only contain images and documents. A <em>.php<\/em> file there is almost always a backdoor.<\/p>\n<h2>2. Theft of your customers&#8217; data<\/h2>\n<p>This is the most serious attack because it affects third parties. The malicious code copies what is entered in contact forms, registration fields, or store checkout (names, emails, phone numbers, addresses, and even credit card details) and silently sends it to the attacker&#8217;s server. There are also attacks that directly steal the customer list from the database.<\/p>\n<p>The website works perfectly fine and orders continue to come in, so no one suspects anything. However, a personal data breach requires notifying the Data Protection Agency and, where applicable, the affected individuals.<\/p>\n<h2>3. Redirects to other websites<\/h2>\n<p>The visitor lands on your site but ends up on a scam page, fake prize offer, or dangerous download page. Most commonly, the redirect only triggers in specific cases: from mobile devices, when arriving via Google, or on the first visit. You, accessing directly while logged in, never see it; your customers do.<\/p>\n<h2>4. Spam posts with advertisements<\/h2>\n<p>The attacker creates hundreds or thousands of pages and posts featuring ads for adult websites, casinos, pharmacies, or brand replicas, often hidden so they don&#8217;t appear in the menu or the WordPress dashboard. The goal is to exploit your domain&#8217;s reputation on Google to rank their links.<\/p>\n<p>The consequence for you is twofold: Google starts showing results that aren&#8217;t yours under your company name, and if detected, it may flag your website as dangerous or remove it from search results.<\/p>\n<h2>5. Administrators no one created<\/h2>\n<p>A new administrator account with an unfamiliar name is one of the clearest signs. The attacker creates it to have their own independent entry point, separate from the backdoor. Sometimes they even hide it from the user list in the dashboard.<\/p>\n<h2>6. Your server working for others<\/h2>\n<p>The infected website is used to send spam email, attack other sites, or mine cryptocurrencies. You notice this because the site runs slowly, your hosting provider warns you of excessive consumption or suspends your account, and your company emails start landing in your customers&#8217; spam folders because your server has ended up on a blacklist.<\/p>\n<h2>Signs that your WordPress may be hacked<\/h2>\n<ul>\n<li>Google displays the warning &#8220;This site may be hacked,&#8221; or the browser warns that the website is dangerous.<\/li>\n<li>Searching <em>site:tudominio.com<\/em> on Google shows pages in other languages or on topics unrelated to your business.<\/li>\n<li>There are administrator users you don&#8217;t recognize.<\/li>\n<li>PHP files appear in the uploads folder.<\/li>\n<li>Customers tell you that visiting the site redirected them elsewhere.<\/li>\n<li>Your hosting provider warns you of abnormal consumption or mass email sending.<\/li>\n<\/ul>\n<h2>What to do if it happens to you<\/h2>\n<p>Simply deleting what is visible isn&#8217;t enough: if the backdoor remains, they will re-enter within days. The correct approach is to restore a clean backup from before the attack; change all passwords (WordPress, hosting, database, and FTP); remove unknown users; update the core, plugins, and theme; and review the website files one by one to ensure no doors are left open. If customer data was involved, you must also consider notifying the Data Protection Agency. If you prefer us to handle it, see how we work on <a href=\"https:\/\/www.cint-consulting.com\/en\/website-hacked\/\">cleaning hacked websites<\/a>: the diagnosis is free and provided the same day.<\/p>\n<h2>Prevention costs much less<\/h2>\n<p>Almost all these attacks start with the same causes: an outdated plugin or theme, a weak password, or a plugin downloaded from an unofficial source. At Cint Consulting, we maintain WordPress websites so they don&#8217;t reach this point: controlled updates, off-server backups, uptime monitoring, and periodic vulnerability scans and suspicious file checks. If you think your website may be compromised, <a href=\"https:\/\/www.cint-consulting.com\/en\/contact\/\">contact us<\/a> for a review, or check out our <a href=\"https:\/\/www.cint-consulting.com\/en\/maintenance-wordpress\/\">WordPress Maintenance<\/a> service.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When we think of a hacked website, we imagine the homepage replaced by a message from the attacker. That hardly happens anymore. Today, attackers want the site to keep running&#8230;<\/p>\n","protected":false},"author":1,"featured_media":4211,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[170],"tags":[181,183],"class_list":["post-4525","post","type-post","status-publish","format-standard","has-post-thumbnail","category-wordpress-en-us","tag-web-security-en-us","tag-wordpress-security-en-us"],"_links":{"self":[{"href":"https:\/\/www.cint-consulting.com\/en\/wp-json\/wp\/v2\/posts\/4525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cint-consulting.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cint-consulting.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cint-consulting.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cint-consulting.com\/en\/wp-json\/wp\/v2\/comments?post=4525"}],"version-history":[{"count":1,"href":"https:\/\/www.cint-consulting.com\/en\/wp-json\/wp\/v2\/posts\/4525\/revisions"}],"predecessor-version":[{"id":4632,"href":"https:\/\/www.cint-consulting.com\/en\/wp-json\/wp\/v2\/posts\/4525\/revisions\/4632"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cint-consulting.com\/en\/wp-json\/wp\/v2\/media\/4211"}],"wp:attachment":[{"href":"https:\/\/www.cint-consulting.com\/en\/wp-json\/wp\/v2\/media?parent=4525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cint-consulting.com\/en\/wp-json\/wp\/v2\/categories?post=4525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cint-consulting.com\/en\/wp-json\/wp\/v2\/tags?post=4525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}