Cross-site Scripting (XSS) Affecting sinatra package, versions <2.0.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-SINATRA-22027
  • published4 Jun 2018
  • disclosed31 May 2018
  • creditUnknown

Introduced: 31 May 2018

CVE-2018-11627  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade sinatra to version 2.0.2 or higher.

Overview

sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) attacks via the 400 Bad Request page that occurs upon a params parser exception.

Details

<>

CVSS Scores

version 3.1