Cross-site Scripting (XSS) Affecting rails package, versions <2:4.1.8-1+deb8u1build0.15.04.1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.25% (65th 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-UBUNTU1504-RAILS-384631
  • published26 Jul 2015
  • disclosed26 Jul 2015

Introduced: 26 Jul 2015

CVE-2015-3226  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Ubuntu:15.04 rails to version 2:4.1.8-1+deb8u1build0.15.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rails package and not the rails package as distributed by Ubuntu. See How to fix? for Ubuntu:15.04 relevant fixed versions and status.

Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.

CVSS Scores

version 3.1