Ad

How To Solve Cross Domain (CORS) Warnings For External Scripts

- 1 answer

I'm not sure if there are any duplicate questions, all the ones I have seen are for CORS issues within the same origin.

I am using this tool owasp zap to analayze security issues with my website.

Now I am noticing I am getting quite a few errors like so

enter image description here

Cross-Domain Misconfiguration

Now they all seem to come from external sources like google analytics etc...

How can I solve these issues? Is it an issue with my server? Issue with the front-end? or an issue with connecting to external scripts?

Can I safely ignore these errors, or do I need to fix them?

Any help would be appreciated

Ad

Answer

How can I solve these issues?

You can't.

Is it an issue with my server?

No. The URL starts with www.google-analytics.com. That isn't your server.

Ad
source: stackoverflow.com
Ad