CSP Content Security Permission Issue White Page On WP

Answer these questions to help the Community help you with Security questions.

What is the domain name?

Have you searched for an answer?
yes no answer or maybe can’t understand

Please share your search results url:
Uncaught EvalError: Refused to evaluate a string as JavaScript because ‘unsafe-eval’ is not an allowed source of script in the following Content Security Policy directive: “default-src ‘self’ https: data: ‘unsafe-inline’ 'unsafe-eval '”.

at new Function (<anonymous>)
at data.min.js?ver=d8cf5b24f99c64ae47d6:2:2415
at e.exports (data.min.js?ver=d8cf5b24f99c64ae47d6:2:2439)
at blocks.min.js?ver=69022aed79bfd45b3b1d:3:104976
at blocks.min.js?ver=69022aed79bfd45b3b1d:10:49767
at blocks.min.js?ver=69022aed79bfd45b3b1d:10:49805

i’m trying to create new post but its giving me the white page but all other website functionality is working except when I try to add new post or any page

When you tested your domain using the Cloudflare Diagnostic Center, what were the results?

Describe the issue you are having:
I want to remove the csp settings from my website or how can i do that? why do I want to remove because when I try to load any plugin with javascript requests its giving me the white page and also error which I mentioned above.

What error message or number are you receiving?

What steps have you taken to resolve the issue?

  1. uninstall the wp and installed again
  2. removed plugins and disabled all of them
  3. changed the themes

But when I try to remove the (gutenberg) plugin everything working properly.
I’m wondering from where these CSP settings are applying on my website because I didnt turn for this site how? can I modify or change

Was the site working with SSL prior to adding it to Cloudflare?
its working

What are the steps to reproduce the error:

Have you tried from another browser and/or incognito mode?

Please attach a screenshot of the error:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.