Cross-site scripting in Sinatra - CVE-2018-11627
Published: June 1, 2018 / Updated: June 5, 2018
Sinatra
Detailed vulnerability description
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists in the 400 Bad Request page of Sinatra due to improper escaping of invalid query parameters. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.