Cross-site Scripting (XSS) Affecting gon package, versions <4.1.1, >=4.1.0


Severity

Recommended
0.0
medium
0
10

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

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-GON-20373
  • published12 Jun 2017
  • disclosed3 Jun 2013
  • creditVadim Rachko, James R.

Introduced: 3 Jun 2013

CVE NOT AVAILABLE CWE-79  (opens in a new tab)

How to fix?

Upgrade gon to version 4.1.1 or higher.

Overview

gon is if you need to send some data to your js files and you don't want to do this with long way trough views and parsing.

Affected versions of the package are vulnerable to Cross-site Scripting (XSS) due to not sanitizing user input.

Details

<>

You can read more about Cross-site Scripting (XSS) on our blog.

References

CVSS Scores

version 3.1