October 5, 2026
Catching a Dangling CNAME: How an Unclaimed Squarespace Subdomain Leads to Takeover
Summary

By Hassan
1 min read
Summary
While doing some recon, I stumbled upon a subdomain (subdomain.target.com) that had a dangling CNAME record pointing over to Squarespace (ext-cust.squarespace.com). Because the target wasn't actually claimed or mapped on the Squarespace end, anyone could theoretically register that exact hostname on the platform and take over the subdomain.
Recon & Discovery Steps
- Check the DNS records:
Ran a quick query to see where the subdomain was routing:
dig +noall +answer subdomain.target.com CNAMEdig +noall +answer subdomain.target.com CNAME- Result: Pointed straight to
ext-cust.squarespace.com
- Probe the endpoint:
Sent an HTTP request to check the live status:
curl -skI https://subdomain.target.com/curl -skI https://subdomain.target.com/- Result: Returned a
404withserver: Squarespace.
- Grab the response body:
Downloaded the page content to confirm the platform status:
curl -skL https://subdomain.target.com/ -o response.html
grep -Ei 'Domain Not Claimed|Domain connection in progress|domainName' response.htmlcurl -skL https://subdomain.target.com/ -o response.html
grep -Ei 'Domain Not Claimed|Domain connection in progress|domainName' response.htmlResult: Hit strings like "domainName":"subdomain.target.com" and Squarespace - Domain Not Claimed, proving the asset was up for grabs.
Proof of Concept
- Spot a subdomain pointing to a third-party service provider via CNAME where the target resource no longer exists or was never bound.
- Hit the endpoint with
curlor a browser to look for platform-specific error markers (like "Domain Not Claimed"). - Create an account on the third-party service and try adding the target subdomain as a custom domain to verify if it binds successfully.
Impact
If an external party managed to claim the hostname before the domain owner caught it, they could host arbitrary content right on [https://subdomain.target.com/](https://subdomain.target.com/).
Risks include:
- Running phishing scams or malicious campaigns behind a legitimate, trusted brand subdomain.
- Bypassing corporate allowlists, security filters, or WAF rules that automatically trust anything matching
*.target.com. - General brand damage and loss of user trust.
Remediation
- Quick fix: Drop the dangling
CNAMErecord from the DNS zone if the campaign or page is dead. - Long term: Set up automated DNS monitoring to catch stale CNAMEs pointing to third-party cloud providers or SaaS platforms before someone else does.