Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support a strict CSP-SOP #5972

Open
narcisgarcia opened this issue Dec 14, 2024 · 0 comments
Open

Support a strict CSP-SOP #5972

narcisgarcia opened this issue Dec 14, 2024 · 0 comments

Comments

@narcisgarcia
Copy link

narcisgarcia commented Dec 14, 2024

I'm using this directive on webserver and I get A+ score in CSP tests:

Header set Content-Security-Policy "default-src 'self'; img-src 'self' data: blob:; media-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline' data:; font-src 'self' data: blob:; object-src 'self'; base-uri 'self'; connect-src 'self'; form-action 'self'; frame-ancestors 'self'"

But embedded text-editor it only works if I add 'unsafe-inline' and 'unsafe-eval' to script-src.

This should also be warned on web UI install wizard and documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant