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


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.32% (72nd 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-525248
  • published7 Dec 2009
  • disclosed7 Dec 2009

Introduced: 7 Dec 2009

CVE-2009-4214  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:11 rails to version 2.2.3-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 the strip_tags function in Ruby on Rails before 2.2.s, and 2.3.x before 2.3.5, allows remote attackers to inject arbitrary web script or HTML via vectors involving non-printing ASCII characters, related to HTML::Tokenizer and actionpack/lib/action_controller/vendor/html-scanner/html/node.rb.

CVSS Scores

version 3.1