https://quarry.wmflabs.org/run/424170/output/0/tsv
The link renders fine.
$ curl -s -I https://quarry.wmflabs.org/run/424170/output/0/tsv | grep Content-Type Content-Type: text/html; charset=utf-8 X-Content-Type-Options: nosniff
You only need an account to do
SELECT "<script>alert(1)</script>";
And you get an HTML page with the payload.
Suggest changing the MIME type.