Showing results for 
Search instead for 
Did you mean: 

my website has been hacked

my website has been hacked

I migrated 1.9.2 to 2.3.5 today.


However, I got below error message when i access my website. so I tried to find some codes but I could not find codes.


can someone give me a hint to find code?


[Report Only] Refused to connect to '' because it violates the following Content Security Policy directive: "connect-src 'self' 'unsafe-inline'"




Re: my website has been hacked

Hello @sungmo 


i am not getting what is actual url


can you share your URL so i can check it

Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: my website has been hacked



Site not hacked, dont worry. This error you are seeing due to magento new module Magento_CSP. You have to set headers or just disable this module on local.

Manish Mittal

Re: my website has been hacked

thanks Manish Mittal and Sunil Patel


my website is


Be careful it will be redirected to another website when you access.


let me know how to solve this problem.

Re: my website has been hacked

Yes @sungmo 

It got hacked. need to check database and codebase from where they hacked it. we cant suggest directly without knowing issue.

Manish Mittal