Script-src CSP web rule prevents editing in Cornerstone

My client’s IT Dept scanned their CSP (Content Security Policy) of their site and required several changes to protect from potential attacks. Adding any web rules for script-src to the WPEngine instance prevents not only LayerSlider from working, but worse, it prevents Cornerstone from being able to open to edit any pages. It also prevents the WPML multi-language function from working.

Are there any suggested security policy web rules to use to allow these scripts to run while protecting from unwanted attacks?

These rules work to scan clean, but don’t allow editing or LayerSlider:
upgrade-insecure-requests; script-src ‘self’ ‘strict-dynamic’ https://.com; object-src ‘none’; base-uri ‘none’; require-trusted-types-for ‘script’; report-uri https://.com;

Hey @disadmin,

Regretfully, we don’t have a solution for that and it is beyond the scope of our theme and bundled plugins.

Please consult with a security expert regarding this server configuration issue.

Thanks.

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