ADVISORIES

GitHub Advisory Database

GHSA-9p3v-wf2w-v29c

Moderate severity vulnerability that affects rails

Moderate CVE-2009-4214

Details

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.

Affected packages

EcosystemPackageAffected versions
RubyGemsrails
All versions before 2.2.2 (fixed in 2.2.2)
RubyGemsrails
From 2.3.0 before 2.3.5 (fixed in 2.3.5)

References