{"id":"CVE-2012-1099","published":"2012-03-13T10:00:00Z","modified":"2024-08-06T18:45:27Z","title":"Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/form_options_helper.rb in the select…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02386,"percentile":0.84333,"provenance":"source"},"cwes":[],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-March/075675.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.openwall.com/lists/oss-security/2012/03/03/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-March/075740.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=799276","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2012/dsa-2466","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.openwall.com/lists/oss-security/2012/03/02/6","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://groups.google.com/group/rubyonrails-security/msg/6fca4f5c47705488?dmode=source&output=gplain","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://weblog.rubyonrails.org/2012/3/1/ann-rails-3-0-12-has-been-released","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":16.87}]},"affected":[{"ecosystem":"RubyGems","package":"actionpack","vulnerableRanges":[">=3.0.0, <3.0.12",">=3.1.0, <3.1.4",">=3.2.0, <3.2.2"],"patched":["3.0.12","3.1.4","3.2.2"],"from":["GHSA-2xjj-5x6h-8vmf"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw exists in the select helper of the form options code (actionpack/lib/action_view/helpers/form_options_helper.rb) in Ruby on Rails, affecting the 3.0.x, 3.1.x and 3.2.x release lines before their respective fixed versions. An attacker can inject arbitrary web script or HTML through specific input that causes the generation of OPTION elements within SELECT elements, with no authentication noted as required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:54Z"},"euvd":{"id":"EUVD-2017-0151","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2011-2929","published":"2011-08-29","fixed":"3.0.10","kev":false},{"cve":"CVE-2011-2931","published":"2011-08-29","fixed":"3.0.10","kev":false},{"cve":"CVE-2011-4319","published":"2011-11-28","fixed":"3.1.2","kev":false,"link":{"from":"CVE-2011-4319","to":"CVE-2012-1099","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"3.0.11","toFixed":"3.0.12","daysApart":106}]}},{"cve":"CVE-2012-1099","published":"2012-03-13","fixed":"3.2.2","kev":false},{"cve":"CVE-2012-2660","published":"2012-06-22","fixed":"3.2.4","kev":false,"link":{"from":"CVE-2012-1099","to":"CVE-2012-2660","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:actionpack","fromFixed":"3.0.12","toFixed":"3.0.13","daysApart":101}]}},{"cve":"CVE-2012-2694","published":"2012-06-22","fixed":"3.2.6","kev":false},{"cve":"CVE-2012-3424","published":"2012-08-08","fixed":"3.2.7","kev":false}],"package":"RubyGems:actionpack"}}