Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.0.8.1-1", "binary_name": "ruby-rack-protection" }, { "binary_version": "2.0.8.1-1", "binary_name": "ruby-sinatra" }, { "binary_version": "2.0.8.1-1", "binary_name": "ruby-sinatra-contrib" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "2.0.8.1-2", "binary_name": "ruby-rack-protection" }, { "binary_version": "2.0.8.1-2", "binary_name": "ruby-sinatra" }, { "binary_version": "2.0.8.1-2", "binary_name": "ruby-sinatra-contrib" } ] }