{"id":"CVE-2012-1098","published":"2012-03-13T10:00:00Z","modified":"2024-08-06T18:45:27Z","title":"Cross-site scripting (XSS) vulnerability in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and 3.2.x before…","vendor":null,"product":null,"tier":"tail","description":{"text":"Cross-site scripting (XSS) vulnerability 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 a SafeBuffer object that is manipulated through certain methods.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02645,"percentile":0.8597,"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":"https://bugzilla.redhat.com/show_bug.cgi?id=799275","tags":["x_refsource_CONFIRM"]},{"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/1c2e01a5e42722c9?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":17.2,"factors":[{"name":"EPSS percentile","points":17.19}]},"affected":[{"ecosystem":"RubyGems","package":"activesupport","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-qv8p-v9qw-wc7g"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw 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 lies in the handling of SafeBuffer objects, which are manipulated through certain methods. A remote attacker can exploit it to inject arbitrary web script or HTML.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:14Z"},"euvd":{"id":"EUVD-2017-0294","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2011-2197","published":"2011-06-30","fixed":"3.0.8","kev":false},{"cve":"CVE-2011-2932","published":"2011-08-29","fixed":"3.0.10","kev":false,"link":{"from":"CVE-2011-2932","to":"CVE-2012-1098","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activesupport","fromFixed":"3.0.10","toFixed":"3.0.12","daysApart":197}]}},{"cve":"CVE-2013-0333","published":"2013-01-30","fixed":"3.0.20","kev":false},{"cve":"CVE-2012-1098","published":"2012-03-13","fixed":"3.2.2","kev":false},{"cve":"CVE-2012-3464","published":"2012-08-10","fixed":"3.2.8","kev":false,"link":{"from":"CVE-2012-1098","to":"CVE-2012-3464","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activesupport","fromFixed":"3.0.12","toFixed":"3.0.17","daysApart":150}]}},{"cve":"CVE-2013-1856","published":"2013-03-19","fixed":"3.2.13","kev":false},{"cve":"CVE-2015-3226","published":"2015-07-26","fixed":"4.2.2","kev":false}],"package":"RubyGems:activesupport"}}