RubySec

Providing security resources for the Ruby community

CVE-2009-4214 (rails): Moderate severity XSS vulnerability that affects rails

ADVISORIES

GEM

rails

FRAMEWORK

Ruby on Rails

SEVERITY

CVSS v2.0: 4.3 (Medium)

PATCHED VERSIONS

  • ~> 2.2.2
  • >= 2.3.5

DESCRIPTION

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.

RELATED