tileserver-gl
tileserver-gl copied to clipboard
XSS vulnerability
Steps to reproduce
- Start tileserver-gl
- Open url http://localhost:8080/styles/basic-preview/?key=l5uof%27-alert(1)-%27t0shv#0.89/0/0
This issue is connected with #461. I think that this can be fixed used library eg. express-sanitizer, cause encodeURIComponent don't fix this problem.