Removing malware from a Wix website is different from cleaning a self-hosted WordPress site because you do not have direct server or file-system access — Wix manages the infrastructure for you. That means your recovery process focuses on your account security, your published content, your connected third-party apps, and your domain settings rather than scanning raw PHP files. Act quickly: Google Safe Browsing can flag your domain within hours of an infection being detected, warning visitors away and crushing your traffic.
Understanding How Wix Sites Get Compromised
Wix's servers are not directly hackable by typical file-injection attacks, but your website can still be abused or defaced in several ways.
Compromised Wix Account Credentials
The most common attack vector is a stolen or guessed password. If an attacker logs into your Wix account, they have full editor access and can inject malicious scripts, redirect visitors, or replace your content entirely.
Malicious Third-Party Apps and Embed Codes
Wix allows you to install apps from the Wix App Market and embed custom HTML/JavaScript via the Embed a Widget or Custom Code features. A malicious or compromised third-party app or a rogue embed code snippet is one of the most frequent sources of actual malware delivery on Wix sites.
Compromised Contributor or Team Member Accounts
If you have added collaborators to your site, any one of those accounts is a potential entry point. Attackers sometimes target lower-privileged accounts precisely because owners overlook them.
Domain Hijacking and DNS Manipulation
Even if your Wix site content is clean, an attacker who gains access to your domain registrar can redirect your domain to a malicious server, making it appear as though your Wix site is serving malware when the problem lies entirely in your DNS settings.
Step 1: Secure Your Wix Account Immediately
Before you clean anything, lock down access so the attacker cannot undo your work.
- Change your Wix password right now. Go to your Wix account settings, choose Security, and select Change Password. Use a unique password of at least 16 characters with a mix of letters, numbers, and symbols.
- Enable Two-Factor Authentication (2FA). In Account Settings → Security, turn on two-step verification. Wix supports authenticator apps and SMS codes.
- Review active sessions. Under Security, look for Active Sessions or Manage Devices and sign out of any session you do not recognise.
- Check your connected email account. Your Wix login email is the master key. Log into that email provider and change its password and enable 2FA there too. An attacker who controls your email controls your Wix account through password resets.
Step 2: Audit Your Collaborators and Roles
- In your Wix Dashboard go to Settings → Roles & Permissions.
- Review every listed collaborator. Remove anyone you do not recognise or who no longer needs access by clicking the three-dot menu next to their name and selecting Remove.
- For remaining collaborators, verify their permission level. Nobody should have Co-Owner access unless absolutely necessary.
Step 3: Inspect and Remove Malicious Embed Codes and Custom Code
This is the most technically critical step for Wix malware removal.
Check Custom Code Injections
- In your Wix Dashboard go to Settings → Custom Code.
- Carefully read every code snippet listed there. Legitimate code will be from known analytics platforms (Google Analytics, Meta Pixel, etc.) or services you deliberately installed.
- Look for anything obfuscated — strings of random-looking characters,
eval()calls,atob()calls, or URLs pointing to unfamiliar domains. These are strong indicators of malicious injection. - Delete any snippet you did not add yourself or cannot verify.
Check Embedded HTML Widgets in the Editor
- Open the Wix Editor for your site.
- Click on every HTML iframe or Embed widget on every page.
- In the widget's settings panel, read the code inside it. Remove any widget containing code you cannot identify.
Review Wix Velo (Dev Mode) Code
If your site uses Wix Velo (formerly Corvid), open the Code Panel and inspect:
Page Codefiles for every pageSite Code(site.js/masterPage.js)- Any backend
.jswfiles
Look for unfamiliar HTTP fetch calls to external domains, obfuscated strings, or code blocks that were not written by you or your developer.
Step 4: Audit Installed Wix Apps
- Go to Wix Dashboard → Apps → My Apps (sometimes listed as Manage Apps).
- Review every installed app. Ask yourself: did I install this, and do I still need it?
- For any app you do not recognise, click on it, research the publisher independently in a new browser tab, and if you have any doubt, click Delete or Remove to uninstall it.
- Even legitimate apps can be acquired by malicious actors after their initial publication. If an app you use has recently changed behavior or you have received abuse notifications after its last update, remove it and contact Wix Support.
Step 5: Check Your Domain's DNS Settings
If your domain is registered through Wix, go to Domains in your Wix Dashboard. If it is registered with a third-party registrar (GoDaddy, Namecheap, Google Domains/Squarespace, etc.), log into that registrar's control panel directly.
Check the following records for unexpected changes:
| Record Type | What to look for |
|---|---|
| A Record | Should point to Wix's IP addresses, not an unknown server |
| CNAME | Should match your legitimate Wix or subdomain configuration |
| MX Records | Unexpected MX records can redirect your email |
| TXT Records | Look for unknown entries; some are used to verify ownership for fraudulent purposes |
If you find altered records, restore them to their correct values and immediately change your domain registrar password and enable 2FA on that account. CISA (the Cybersecurity and Infrastructure Security Agency) specifically lists DNS hijacking as a top credential-based attack method and recommends registrar-level 2FA as a primary defence.
Step 6: Scan Your Site with External Security Tools
Because you cannot run a server-side scanner on Wix, use external URL-based scanning tools:
- Google Safe Browsing Transparency Report (
transparencyreport.google.com/safe-browsing/search) — Enter your domain to see if Google has flagged it. - Sucuri SiteCheck (
sitecheck.sucuri.net) — Sucuri's free scanner crawls your publicly visible pages for known malware signatures, blacklist status, and injected scripts. - VirusTotal (
virustotal.com) — Submit your domain or specific page URLs to check against dozens of security vendor databases. - URLVoid — Cross-references your domain against multiple blacklist services.
Document the results of each scan. You will need this information for the Google Search Console review request in the next step.
Step 7: Check Google Search Console for Security Alerts
- Log into Google Search Console for your property.
- In the left-hand menu, look under Security & Manual Actions → Security Issues.
- If Google has detected malware, phishing, or harmful downloads, the specific affected URLs will be listed here.
- Work through each flagged URL and verify you have removed the malicious content using the steps above.
Google Search Central's documentation on hacked sites states clearly that you must fix all listed issues before submitting a review request, or the request will be denied.
Step 8: Request a Google Review (If Your Site Was Flagged)
Once you are confident the malicious content has been removed:
- In Google Search Console → Security Issues, click the Request a Review button.
- In the text box provided, describe specifically what you found (e.g., "Malicious JavaScript was injected via a third-party embed code in the site's Custom Code section. The code has been removed, 2FA has been enabled, and all collaborator access has been audited.") Be detailed — vague requests are rejected more often.
- Google Search Central states that reviews typically take a few days to a few weeks. Your safe-browsing warning will be removed once Google confirms the site is clean.
Step 9: Notify Your Visitors If Necessary
If your site collected personal data, processed payments, or had a meaningful number of visitors during the infection window, you may have legal obligations under privacy regulations such as GDPR (in Europe) or CCPA (in California). Consider:
- Posting a transparent notice on your site.
- Emailing your subscriber or customer list with details of what happened and what you have done.
- Consulting a legal professional if sensitive financial or personal data may have been exposed.
OWASP (the Open Web Application Security Project) recommends transparent incident communication as a core practice in responsible disclosure and user trust recovery.
Step 10: Harden Your Site Going Forward
Recovery is only complete when you have reduced the chance of it happening again.
- Use a password manager to generate and store unique credentials for every account (Wix, your email, your registrar, payment processors).
- Audit Custom Code quarterly. Set a recurring calendar reminder to review your Custom Code section every three months.
- Only install apps with strong review histories and known publishers from the Wix App Market.
- Limit collaborator access strictly. Use the principle of least privilege: give people only the permissions they genuinely need.
- Monitor Google Search Console regularly — subscribe to email alerts so you hear about security issues the moment Google detects them.
- Keep your connected email account locked down with 2FA. It is the single most important account in your entire web presence security chain.
Frequently Asked Questions
Can Wix websites actually get malware?
Yes. While Wix manages and secures its own servers so traditional file-injection attacks are not possible, your site can serve malware through malicious embed codes, compromised third-party apps, hijacked Velo/custom code, or a stolen account login. The result for visitors is identical to a hacked self-hosted site.
Will Wix remove the malware for me?
Wix Support can assist with account recovery and may be able to help identify suspicious activity, but they do not perform manual malware removal on your content the way a managed WordPress host might. The responsibility for auditing your embed codes, custom code, and installed apps lies with you as the site owner. Contact Wix Support early in the process so they have a record of the incident.
How long does Google take to remove the malware warning after I fix my site?
After you submit a review request through Google Search Console, Google Search Central states the process typically takes a few days to a few weeks depending on the severity classification and review queue. Phishing flags are often reviewed faster than general malware flags. Your site will continue to show the browser warning until the review is complete and the flag is lifted.
My site was hacked but I never gave anyone my password — how did this happen?
Credential theft does not always require you to share your password directly. Common methods include phishing emails that mimic Wix login pages, data breaches at other services where you reused the same password, malware on your own computer that logged your keystrokes, and brute-force attacks on weak passwords. Enabling 2FA closes almost all of these vectors immediately.
Should I delete my Wix site and start over?
A full rebuild is rarely necessary and should be a last resort. Because Wix stores your site data in its own managed infrastructure, the malware is almost always in your account-level settings (custom code, embeds, apps) rather than deeply embedded in a database you cannot clean. Methodically following the steps above will resolve the vast majority of Wix malware incidents without losing your site content.
