Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Add support for CSP #909

Open
1 of 4 tasks
jvoisin opened this issue Mar 21, 2019 · 1 comment
Open
1 of 4 tasks

Add support for CSP #909

jvoisin opened this issue Mar 21, 2019 · 1 comment
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket). type: enhancement There is implementer and support from maintainer, and is no opposition. Waiting for milestone.
Milestone

Comments

@jvoisin
Copy link
Contributor

jvoisin commented Mar 21, 2019

It would be amazing to have CSP support in Airsonic, since it's not uncommon to find XSS in airsonic/subsonic/libresonic/… codebases.
Unfortunately, it's non-trivial to make the codebase compliant.

@jooola jooola added the type: enhancement-closed What was previously labeled enhancement. For archiving. Will be organized later. label Apr 2, 2019
@jvoisin
Copy link
Contributor Author

jvoisin commented Apr 10, 2019

For nonces we would have to generate a random string per request, and shove it into each <script> as well as in a header.

@muff1nman do you know how this could be done in Spring?

@jvoisin jvoisin added this to the 11.0.0 milestone Apr 28, 2019
@jvoisin jvoisin self-assigned this Jun 6, 2019
@tesshucom tesshucom added type: enhancement There is implementer and support from maintainer, and is no opposition. Waiting for milestone. in: web Issues in web modules (web, webmvc, webflux, websocket). and removed type: enhancement-closed What was previously labeled enhancement. For archiving. Will be organized later. labels May 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket). type: enhancement There is implementer and support from maintainer, and is no opposition. Waiting for milestone.
Projects
Secure airsonic
Awaiting triage
Development

No branches or pull requests

3 participants