Cross-site Scripting in actionpack (GHSA-2xjj-5x6h-8vmf)
Published: 2017-10-24T18:33:38Z
Aliases: CVE-2012-1099
Severity: MODERATE · CWE: CWE-79

Cross-site scripting (XSS) vulnerability in `actionpack/lib/action_view/helpers/form_options_helper.rb` in the select helper in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and 3.2.x before 3.2.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving certain generation of OPTION elements within SELECT elements.

Affected packages:
package: ecosystem: RubyGems
name: actionpack
ranges: type: ECOSYSTEM
events: introduced: 3.0.0
fixed: 3.0.12
package: ecosystem: RubyGems
name: actionpack
ranges: type: ECOSYSTEM
events: introduced: 3.1.0
fixed: 3.1.4
package: ecosystem: RubyGems
name: actionpack
ranges: type: ECOSYSTEM
events: introduced: 3.2.0
fixed: 3.2.2