Cross-site Scripting (XSS) Affecting rails package, versions <2:4.2.4-2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.25% (66th 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-DEBIAN11-RAILS-519819
  • 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 Debian:11 rails to version 2:4.2.4-2 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 Debian. See How to fix? for Debian:11 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