{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2012-3464","id":"CVE-2012-3464","title":"activesupport Cross-site Scripting vulnerability","description":"Cross-site scripting (XSS) vulnerability in activesupport/lib/active_support/core_ext/string/output_safety.rb in Ruby on Rails before 3.0.17, 3.1.x before 3.1.8, and 3.2.x before 3.2.8 might allow remote attackers to inject arbitrary web script or HTML via vectors involving a ' (quote) character.","descriptionLong":"Cross-site scripting (XSS) vulnerability in activesupport/lib/active_support/core_ext/string/output_safety.rb in Ruby on Rails before 3.0.17, 3.1.x before 3.1.8, and 3.2.x before 3.2.8 might allow remote attackers to inject arbitrary web script or HTML via vectors involving a ' (quote) character.","published":"2012-08-10T10:00:00.000Z","updated":"2026-06-16T23:43:16.680Z","reserved":"2012-06-14T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"activesupport","purl":"pkg:gem/activesupport","ranges":[">=3.0.0.beta <3.0.17",">=3.1.0 <3.1.8",">=3.2.0 <3.2.8","<2.3.16"],"fixed":["3.0.17","3.1.8","3.2.8","2.3.16"],"advisory":"GHSA-h835-75hw-pj89"}],"cwes":["CWE-79"],"aliases":["GHSA-h835-75hw-pj89"],"references":[{"url":"http://weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/50694","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0154.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://groups.google.com/group/rubyonrails-security/msg/8f1bbe1cef8c6caf?dmode=source&output=gplain","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3464","tags":["advisory"]},{"url":"https://github.com/rails/rails/issues/7215","tags":["web"]},{"url":"https://github.com/rails/rails/commit/28f2c6f4037081da0a82104a3f473165ed4ed2ce","tags":["web"]},{"url":"https://github.com/rails/rails/commit/780a718723cf87b49cfe204d355948c4e0932d23","tags":["web"]},{"url":"https://github.com/rails/rails/commit/d0c9759d3aeb6327d68dd6c0de0fe2fed4e3c870","tags":["web"]},{"url":"https://github.com/rails/rails/commit/d549df7133f2b0bad8112890d478c33e990e12bc","tags":["web"]},{"url":"https://github.com/advisories/GHSA-h835-75hw-pj89","tags":["advisory"]},{"url":"https://github.com/rails/rails","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2012-3464.yml","tags":["web"]},{"url":"http://weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02568,"epssPercentile":0.85525,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2012-3464","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3464","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2012-3464","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h835-75hw-pj89","ok":true,"note":"GHSA-h835-75hw-pj89"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2012-3464","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}