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 X-Content-Security-Policy: sandbox recommendation for the content repository #866

Open
dkasak opened this issue Jul 23, 2021 · 0 comments
Labels
clarification An area where the expected behaviour is understood, but the spec could do with being more explicit enhancement A suggestion for a relatively simple improvement to the protocol

Comments

@dkasak
Copy link
Member

dkasak commented Jul 23, 2021

This is a non-standard CSP-like header supported by IE11 which only supports the sandbox directive. This is enough to disable script execution however and can therefore mitigate the problem of XSS in the content repository for users still using IE11.

C.f. Synapse PR: matrix-org/synapse#10468

@dkasak dkasak added clarification An area where the expected behaviour is understood, but the spec could do with being more explicit enhancement A suggestion for a relatively simple improvement to the protocol labels Jul 23, 2021
@richvdh richvdh transferred this issue from matrix-org/matrix-spec-proposals Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification An area where the expected behaviour is understood, but the spec could do with being more explicit enhancement A suggestion for a relatively simple improvement to the protocol
Projects
None yet
Development

No branches or pull requests

1 participant