Cross-site Scripting (XSS) Affecting grape package, versions <1.1.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.08% (38th 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-GRAPE-22042
  • published19 Jul 2018
  • disclosed22 May 2018
  • creditUnknown

Introduced: 22 May 2018

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

How to fix?

Upgrade grape to version 1.1.0 or higher.

Overview

grape is a Ruby framework for rapid API development with great conventions.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). When request on API contains the format parameter in GET, the input value of this parameter is rendered as the web-server responds with text/html header.

Details

<>

CVSS Scores

version 3.1