RubySec

Providing security resources for the Ruby community

CVE-2011-2931 (actionpack): XSS Vulnerability in strip_tags helper in rails/actionpack

XSS Vulnerability in strip_tags helper in rails/actionpack

Published: October 24, 2017

SECURITY IDENTIFIERS

GEM

actionpack

FRAMEWORK

Ruby on Rails

SEVERITY

CVSS v2.0: 4.3 (Medium)

UNAFFECTED VERSIONS

< 2.0.0 < 3.0.0

PATCHED VERSIONS

~> 2.3.13 >= 3.0.10

DESCRIPTION

Cross-site scripting (XSS) vulnerability in the strip_tags helper in actionpack/lib/action_controller/vendor/html-scanner/html/node.rb in Ruby on Rails before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allows remote attackers to inject arbitrary web script or HTML via a tag with an invalid name.

RELATED