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

Add a content security policy #2499

Open
1 of 8 tasks
sandbergja opened this issue Oct 1, 2024 · 0 comments
Open
1 of 8 tasks

Add a content security policy #2499

sandbergja opened this issue Oct 1, 2024 · 0 comments
Labels
maintenance Ticket related to maintenance that needs to be done security

Comments

@sandbergja
Copy link
Member

What maintenance needs to be done?

Add a content security policy header.

Level of urgency

  • High
  • Moderate
  • Low

Why is this maintenance needed?

It would provide XSS and Clickjacking protections to PUL staff who go to the bibdata admin interface.

Acceptance criteria

  • Bibdata responses include a Content-Security-Policy header
  • The CSP has object-src 'none';
  • The CSP has base-uri 'none';
  • The CSP is as restrictive as possible
  • The UIs still work

Implementation notes, if any

See this documentation about a Strict CSP and MDN's general documentation about CSPs

@sandbergja sandbergja added maintenance Ticket related to maintenance that needs to be done security labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Ticket related to maintenance that needs to be done security
Projects
None yet
Development

No branches or pull requests

1 participant