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


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.31% (71st 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-517056
  • published7 Sept 2016
  • disclosed7 Sept 2016

Introduced: 7 Sep 2016

CVE-2016-6316  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:11 rails to version 2:4.2.7.1-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 Debian. See How to fix? for Debian:11 relevant fixed versions and status.

Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1 might allow remote attackers to inject arbitrary web script or HTML via text declared as "HTML safe" and used as attribute values in tag handlers.