Ruby on Rails actionpack/lib/action_view/helpers/form_options_helper.rb Manually Generated Select Tag Options XSS


2017-06-16 18:59
CVE-2012-1099 ruby-actionpack-2.3
CVE-2012-1099 rails
2017-04-01 19:10
2017-01-05 20:15


Ruby on Rails contains a flaw that allows a remote cross-site scripting (XSS)
attack. This flaw exists because the application does not validate manually
generated 'select tag options' upon submission to
actionpack/lib/action_view/helpers/form_options_helper.rb. This may allow a
user to create a specially crafted request that would execute arbitrary
script code in a user's browser within the trust relationship between their
browser and the server.

Am I vulnerable?

The constraints below list the versions that this vulnerability is patched in, and versions that are unaffected. If a patch is ready but unrealeased, then it is pending.

Or, you can just let us figure it out for you! Appcanary continously monitor your installed packages, and tell you if any of them are vulnerable.

Sign up for monitoring

Affected package information

Package Patched in Unaffected in
actionpack ~> 3.0.12,~> 3.1.4,>= 3.2.2 None