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 #1200

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

Add a content security policy #1200

sandbergja opened this issue Oct 1, 2024 · 0 comments

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 approvals system.

Acceptance criteria

  • Approvals 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

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

No branches or pull requests

1 participant