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
Hi, I stumbled upon a reflected XSS in the software.
It stems from reflecting unsanitized user controller input directly to the HTTP response.
I initially observed this in Tileserver GL 2.5, but from the looks of it it's still present in the current master.
master
Vulnerable request example:
https://example.org/?key=%22%3E%3Cscript%3Ealert%281%29%3B%3C%2Fscript%3E
The code in question is here https://github.com/maptiler/tileserver-gl/blob/master/src/server.js#L322-L323
The text was updated successfully, but these errors were encountered:
10431d7
Merge pull request #462 from korpd/fix-xss-461
f8563e1
Fix reflected XSS in 'key' parameter. Fixes #461
No branches or pull requests
Hi, I stumbled upon a reflected XSS in the software.
It stems from reflecting unsanitized user controller input directly to the HTTP response.
I initially observed this in Tileserver GL 2.5, but from the looks of it it's still present in the current
master.Vulnerable request example:
The code in question is here https://github.com/maptiler/tileserver-gl/blob/master/src/server.js#L322-L323
The text was updated successfully, but these errors were encountered: