Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/form_tag_helper.rb in Ruby on Rails 3.x before 3.0.17, 3.1.x before 3.1.8, and 3.2.x before 3.2.8 allows remote attackers to inject arbitrary web script or HTML via the prompt field to the select_tag helper.
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-3463
- https://github.com/advisories/GHSA-98mf-8f57-64qf
- https://groups.google.com/group/rubyonrails-security/msg/961e18e514527078?dmode=source&output=gplain
- http://rhn.redhat.com/errata/RHSA-2013-0154.html
- http://weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released/
- https://github.com/rails/rails/commit/6d0526db91afb0675c2ad3d871529d1536303c64
- https://groups.google.com/g/rubyonrails-security/c/fV3QUToSMSw/m/eHBSFOUYHpYJ?pli=1