Squarespace is a hosted platform. The company runs and patches the servers and the core software, so you have no plugins to update and no server files to inspect. When a Squarespace site is compromised, the cause is almost always on the owner’s side of the line: a stolen login, an over-privileged contributor, a connected service you no longer trust, or code someone pasted into your site.
That shapes how you investigate. You are not scanning files. You are reviewing who has access and what has been added to your site.
Signs your Squarespace site may be compromised
No single sign proves anything, but several together deserve immediate attention.
- Contributors you do not recognise. A new person in your site’s permissions list, or a familiar person with a role higher than you gave them.
- Content you did not change. Edited text, swapped images, new links in your footer, or pages that appear in your navigation without you adding them.
- Unexpected redirects. Visitors land on a different site, or a page on your domain sends people somewhere unrelated.
- Spam pages or odd URLs. Pages about products or topics you have never covered, often found through a search for your domain.
- Unfamiliar scripts. Pop-ups, ads you did not place, or tracking you did not set up.
- Search warnings. A browser warning page, or a security or manual-action message in your search console account.
- Login alerts. Password reset emails or sign-in notices you did not request.
- Form or email oddities. Form submissions or notifications going to an address you do not own.
Check who has access to your site
Start with people, because a hijacked account is the most common route in. Open your site’s permissions area in the Settings menu and review every contributor and their role.
Look for three things:
- Anyone you do not recognise, including addresses that look similar to a real colleague’s.
- Former staff, freelancers or agencies who still have access.
- Anyone with more permission than their job needs. Squarespace offers several permission levels, so give each person the lowest one that lets them do their work.
Remove what you cannot account for. Before you do, write down the name, email and role you saw, so you have a record if you later ask Squarespace Support to investigate.
Also check your own account. If you cannot sign in, or your email address on the account has changed, treat that as urgent and go straight to the account recovery steps in the Squarespace help centre.
Check the places where code can hide
Squarespace does not let you edit the platform itself, but it does let you add custom code. That is where an attacker with editor access would hide something. Check each of these areas.
Code Injection
In Settings, under Developer Tools, find Code Injection. Read the header and footer fields line by line. Anything you or your developer did not write should be treated with suspicion, especially scripts that load from a domain you do not recognise, or long blocks of unreadable text. Depending on your plan and what your site uses, other injection fields, such as the ones for order confirmation pages, may also exist, so check every field shown.
Code blocks and page-level code
Open your pages and look for Code blocks. A block with a script tag that nobody can explain is a red flag. Do the same for the code fields in page settings and for any embed blocks.
URL Mappings
URL Mappings, also under Developer Tools, is where redirects live. An attacker can add a rule that sends one of your popular URLs to another site. Read every line and delete rules you did not create.
Connected services and extensions
Review the accounts and extensions connected to your site, such as analytics, email marketing, payment and social tools. Disconnect anything you no longer use. What you see depends on your plan and the features you have enabled.
Confirm the problem from the outside
Your own browser can mislead you, because you may be logged in or have cached pages. Test the way a visitor would.
- Open your site in a private window on a phone using mobile data, and click through your main pages.
- Search for your domain with the site: operator in a search engine and scan the results for titles or pages you do not recognise.
- Check your search console accounts for security issues, manual actions, or sudden indexing of strange URLs.
- View the page source in your browser and look for script tags pointing to domains you do not know. The MDN documentation on Content Security Policy explains why unexpected external scripts are risky.
- Check your domain settings and DNS records for entries you did not add.
If the strange behaviour only appears for some visitors, or only on some devices, it still counts. Injected scripts are often written to stay hidden from the site owner.
First steps to take right away
Work in this order so you close the door before cleaning the room.
- Change your password. Use a long, unique password that you have never used elsewhere, ideally generated by a password manager. Change the password on the email account tied to your Squarespace login as well.
- Turn on two-factor authentication. Squarespace supports it for your account. Enable it and store your recovery options somewhere safe.
- Remove unknown contributors and downgrade anyone who has too much access.
- Delete unfamiliar code from Code Injection, Code blocks and page settings, and delete unexplained URL Mappings.
- Disconnect unneeded services and re-authorise the ones you keep.
- Restore your content. Fix altered pages by hand. Check your navigation, footer, forms and notification emails.
- Contact Squarespace Support through the Squarespace help centre if you cannot sign in, if you suspect the problem sits at the platform level, or if you want them to review account activity.
- Ask for a review if you were flagged. If a browser or search engine labelled your site unsafe, request a review through that service once the cleanup is done.
Do not delete evidence too early. Take screenshots of what you find and save a copy of any suspicious code before you remove it.
Reduce the chance of it happening again
Most prevention comes down to access control and discipline.
- Give every person their own login rather than sharing one.
- Review the contributor list on a regular schedule and after every project ends.
- Only paste code from sources you trust, and ask your developer what each snippet does.
- Use a unique password for your Squarespace account and your domain registrar account, and protect both with two-factor authentication.
- Be careful with phishing. Emails pretending to be from Squarespace, your domain provider or a payment tool are a common way to steal logins. Type the address yourself rather than clicking.
The OWASP Top Ten gives a good overview of the broader categories of web risk, including broken access control and weak authentication, which map directly to the steps above.
Frequently asked questions
Can a Squarespace site be hacked through a plugin?
Squarespace does not use the plugin model that self-hosted systems do, so there are no plugin files for you to patch. Risk comes from accounts, contributor permissions, connected extensions and any custom code you add.
Will Squarespace clean up my site for me?
Squarespace maintains the platform, but the content and code on your site are your responsibility. Support can help with account access and platform questions. You will usually need to remove unwanted code, redirects and contributors yourself.
How do I know the cleanup worked?
Recheck every place described above, then test your site in a private window on a different device and network. Watch your search console account for further warnings over the following weeks, and keep two-factor authentication on so the same login cannot be used again.