Hello,
My website is hosted by Hubspot CMS and the domain name was purchased from Namecheap.
When I google my website “Hook Holster”, my website shows up in the Google results with a yellow exclamation point next to it and this message “WEBROOT: Caution. This site may contain content that could affect your online security.”
How would I identify and eliminate whatever is on my site that is causing that alert? To my knowledge there is nothing there that would cause a problem.
Webroot is the internet security program on my laptop. (You might not see the same flag if you use a different internet security program.) But I’d still like to correct whatever is causing my URL/website to be flagged in case other security systems would flag it also and/of for other customers that might have Webroot too.
I’m not sure if this was related or a different issue, but a couple days ago, a prospective customer said my website was classified as “weapons” by their company internet security system.
I would appreciate any and all help you can offer! Thanks in advance!
Hey @hookholster, thank you for posting in our Community!
I would recommend starting by performing a thorough scan of your website using reputable security tools. These tools can help identify any malicious code or vulnerabilities on your website.
Review all content on your website, including text, images, and files, to ensure there is nothing that could trigger security alerts. Pay particular attention to any content related to “weapons,” as mentioned by the prospective customer.
If your website utilizes any third-party plugins or scripts, ensure they are up-to-date and come from trusted sources. Vulnerabilities in plugins or scripts can sometimes lead to security issues.
To our top experts, @aviafriat26, and @matthew-aire do you have any recommendations for the @hookholster matter?
Thank you,
Pam
Hello @hookholster,
Thank you for reaching out for help with your website. Below is a step-by-step solution to address the Webroot flagging issue. If this solution resolves the problem, please let me know.
-
Scan Your Website for Security Issues
- Visit Sucuri SiteCheck.
- Enter your website URL and run a scan to check for malware or vulnerabilities.
- Note any issues reported in the scan results.
-
Review and Clean Content
- Log into your HubSpot account.
- Navigate to Marketing > Website > Website Pages.
- Review your website content for any terms or media that could be flagged as related to “weapons.”
- Remove or modify any content that might be misinterpreted.
-
Update and Secure Your Website
- Ensure your HubSpot CMS and all plugins are updated to their latest versions.
- Go to Settings > Account Setup > CMS Hub Settings.
- Check for any available updates and apply them.
- Enable HTTPS for your site:
- Go to Settings > Domains & URLs.
- Ensure the SSL certificate is enabled for your domain. If not, contact HubSpot support to enable SSL.
-
Request Reclassification from Webroot
- Visit the Webroot URL Review Request.
- Enter your website URL and fill out the form requesting a reclassification.
- Explain that you have reviewed and secured your website, removing any potentially harmful content.
-
Monitor and Maintain Security
- Regularly scan your website using Sucuri SiteCheck or similar tools.
- Schedule regular content reviews to ensure no new content is flagged.
- Keep your CMS and plugins updated.
If this solution resolves the issue, please let me know. Thank you!
cc: @PamCotton
Hello @aviafriat26,
Thank you so much for your detailed response! I have much to learn in this arena, so I really appreciate your support.
I scanned my website as you recommended. Here are the results: Website Security Checker | Malware Scan | Sucuri SiteCheck
The only items flagged were the following “hardening improvements.”
Missing security header for ClickJacking Protection. Alternatively, you can use Content-Security-Policy: frame-ancestors ‘none’.
Missing security header to prevent Content Type sniffing.
Missing Content-Security-Policy directive. We recommend to add the following CSP directives (you can use default-src if all values are the same): script-src, object-src, base-uri, frame-src
Could you please help me figure out how to implement these recommendations? For example, on the Clickjacking item, I don’t know where in Hubspot (maybe under Advanced Settings?) to place the recommended code: Security Headers - X-Frame-Options | Sucuri Docs
And would I need to place the recommended code on each and every page on my website or just the home page?
cc: @PamCotton Pam, thank you so much for your response and for looping in aviafriat26! I really really appreciate your help!
You’re welcome, @hookholster! Here’s a direct solution for implementing the security headers in HubSpot:
-
ClickJacking Protection:
-
Go to your HubSpot account.
-
Navigate to Settings (gear icon in the main navigation bar).
-
In the left sidebar menu, go to Website > Pages.
-
Click on the Advanced Options tab.
-
Add the following code to the Header HTML section:
<meta http-equiv="X-Frame-Options" content="DENY">
-
Alternatively, you can use the Content-Security-Policy header:
<meta http-equiv="Content-Security-Policy" content="frame-ancestors 'none';">
``
-
Prevent Content Type Sniffing:
-
Content-Security-Policy (CSP) Directive:
-
Add the following CSP directives in the Header HTML section:
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-src 'self';">
``
These headers will apply to all pages under your HubSpot settings, so you only need to add the code once, not on each individual page.
Best regards,
Avi
Hello @aviafriat26,
Thank you for once again providing detailed instructions. Unfortunately I cannot find the tab for “Advanced Options.” I tried on both the old and new navigation bars. When I click Settings, I see that big menu and under Tools, I find Content and then Pages. But I don’t see a tab or option anywhere under Pages for Advanced Options. I see 4 tabs for Personalization, Integration, SEO & Crawlers, and System Pages (and that one is locked). I hope the problem is not that I am on the free plan? Please let me know if I can provide any more helpful info. I can’t figure out how to include an attachment or screenshot or else I would have.
@hookholster It seems that the Advanced Options tab may not be available on the free plan.
-
Upgrade Your Plan: The Advanced Options may only be available on a paid plan. Consider upgrading to at least the Starter plan to access these options.
-
Alternative Settings Location:
- Go to Settings: Click on the settings icon (gear icon) in the main navigation bar.
- Navigate to Website > Pages: Under the “Tools” section, look for “Website” and then “Pages.”
- Check for Page Options: If you still don’t see Advanced Options, try looking under the SEO & Crawlers tab, as some advanced settings might be grouped there.
Hello @aviafriat26
I became a paid customer of Hubspot to access the ability to implement the solution you recommended. But once I added all 3 elements you recommended, the header menu on my website displayed incorrectly and none of the videos on my website worked! Once I removed all 3, my website worked correctly again. Should I leave them off or are they important enough that I need to figure out how to add them in a format that doesn’t break anything? If so, how?
Thanks!
Hello @aviafriat26 Hardening Improvements
Security Headers
Missing Content-Security-Policy directive. We recommend to add the following CSP directives (you can use default-src if all values are the same): script-src, object-src, base-uri, frame-src
How to solve this error in the hubspot.
Hello @hookholster,
Thanks for your patience. Let’s get this sorted out in a straightforward way.
Why Security Headers Matter
These headers help protect your website, but they shouldn’t mess up your site’s layout or functionality. Let’s fix this so everything works smoothly.
Here’s What to Do
-
ClickJacking Protection:
-
Use this less restrictive version:
<meta http-equiv="Content-Security-Policy" content="frame-ancestors 'self';">
-
This keeps your site secure without blocking your own content.
-
Prevent Content Type Sniffing:
-
Content-Security-Policy (CSP):
-
Add this CSP directive gradually to ensure compatibility:
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'trusted-scripts.com'; object-src 'none'; base-uri 'self'; frame-src 'self';">
-
Replace 'trusted-scripts.com' with the domains you use for scripts and videos.
Implementation Steps
-
Access HubSpot Settings:
- Click the gear icon in the main navigation bar.
- Go to Website > Pages.
-
Add Headers:
- In the Advanced Options or SEO & Crawlers tab, add the headers to the Header HTML section.
-
Testing:
- Apply changes to a test page first and check everything works.
- If all is good, apply changes site-wide.
Final Touches
- Monitor and Adjust:
- Regularly check your site’s functionality and security.
- Adjust CSP directives as needed to include any additional trusted sources.
Conclusion
These steps should help secure your site without breaking it. If you run into more issues, feel free to reach out. We can tweak things further to get everything running perfectly.
Best,
Avi
Hello @aviafriat26
Thank you so much for the detailed step-by-step instructions. I implemented the first two and my site is still working correctly, yay!
For the third, could you provide some additional detail on your statement “Replace ‘trusted-scripts.com’ with the domains you use for scripts and videos.” I don’t know what scripts are. My videos are throughout my website. Do I need to list each URL where a video is found or can I just use my whole website “www.hookholster.com” or maybe “hookholster.com” would be better?
Thanks!!
Hey @hookholster, awesome that the first two steps worked!
For the third step, here’s what you need to know:
- Scripts: Think of scripts as any JavaScript files you’re using from external sources (like Google Analytics, Facebook Pixel, etc.). You need to list those domains specifically.
- Videos: If your videos are hosted on your own site, you can just use
hookholster.com. If they’re on YouTube or Vimeo, add those domains.
Example:
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' www.google-analytics.com; style-src 'self'; img-src 'self'; media-src 'self' www.youtube.com;">
'self' means your own site.
- Add any other domains where you host scripts or videos.
So, for your videos, if they’re all on your site, just use hookholster.com. If you use other services, list them too.
Hope that helps!