VDB
KO
MEDIUM

GHSA-9p3v-wf2w-v29c

Moderate severity vulnerability that affects rails

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems / rails
Introduced in: 0 Fixed in: 2.2.2
Fix bundle update rails
RubyGems / rails
Introduced in: 2.3.0 Fixed in: 2.3.5
Fix bundle update rails

References