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

Set up content-security-policy #585

Open
GKFX opened this Issue Jan 24, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@GKFX
Copy link
Member

GKFX commented Jan 24, 2019

As it's difficult to verify that there are no XSS vulnerabilities remaining in Camdram, a Content-Security-Policy header would go some way towards mitigating them.

  • Sentry offers integration for CSP reports.
  • We'd need to move inline scripts to their own file or list their hashes individually in the header.
  • Could also prevent image hotlinking etc. in user content if desired, though this is optional.

@GKFX GKFX added the security label Jan 24, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment