CVE-2012-3464 json
activesupport Cross-site Scripting vulnerability
published 2012-08-10 14 y ago modified 2026-06-16 4 mo ago also GHSA-h835-75hw-pj89 , EUVD-2017-0249
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems activesupport 2.3.16, 3.0.17, 3.1.8, 3.2.8
- rails Debian 14, Debian 13, Debian 12 2.3.14.1
debian advisories DEBIAN-CVE-2012-3464
- php openshift 1 5.3.3-22.el6
- graphviz openshift 1 2.26.0-10.el6
- php-imap openshift 1 5.3.3-22.el6
- php-bcmath openshift 1 5.3.3-22.el6
- graphviz-gd openshift 1 2.26.0-10.el6
- php-process openshift 1 5.3.3-22.el6
- php-mbstring openshift 1 5.3.3-22.el6
- ruby193-ruby openshift 1 1.9.3.327-25.el6
red hat advisories RHSA-2013:0582
- github.com/rails/rails@28f2c6f commit
- github.com/rails/rails@780a718 commit
- github.com/rails/rails@d0c9759 commit
- github.com/rails/rails@d549df7 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-3464 updated cvss 4.3
rubygem-actionpack: potential XSS vulnerability
-
Red Hat CloudForms Cloud Engine for RHEL 6 Server puppet 2.6.17-2.el6cf, rubygem-mail 2.3.0-3.el6cf, puppet-server 2.6.17-2.el6cf, rubygem-compass 0.11.5-2.el6cf, rubygem-net-ldap 0.1.1-3.el6cf, rubygem-chunky_png 1.2.0-3.el6cf, +6 more Red Hat CloudForms System Engine for RHEL 6 Server puppet 2.6.17-2.el6cf, rubygem-mail 2.3.0-3.el6cf, puppet-server 2.6.17-2.el6cf, rubygem-compass 0.11.5-2.el6cf, rubygem-net-ldap 0.1.1-3.el6cf, rubygem-chunky_png 1.2.0-3.el6cf, +6 morefixed: vendor fix RHSA-2012:1542
-
Red Hat OpenShift Enterprise Infrastructure graphviz 2.26.0-10.el6, graphviz-gd 2.26.0-10.el6, rubygem-bson 1.8.1-2.el6op, graphviz-ruby 2.26.0-10.el6, rubygem-mongo 1.8.1-2.el6op, ruby193-ruby 1.9.3.327-25.el6, +25 more Red Hat OpenShift Enterprise JBoss EAP add-on openshift-origin-cartridge-jbosseap-6.0 1.0.4-1.el6op Red Hat OpenShift Enterprise Node php 5.3.3-22.el6, php-imap 5.3.3-22.el6, php-bcmath 5.3.3-22.el6, php-process 5.3.3-22.el6, php-mbstring 5.3.3-22.el6, rubygem-bson 1.8.1-2.el6op, +32 morefixed: vendor fix RHSA-2013:0582
-
Red Hat Subscription Asset Manager for RHEL 6 Server rubygem-actionpack 3.0.10-11.el6cf, rubygem-activerecord 3.0.10-8.el6cf, rubygem-activesupport 3.0.10-5.el6cffixed: vendor fix RHSA-2013:0154
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.57% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | activesupport | >=3.0.0.beta, <3.0.17 >=3.1.0, <3.1.8 >=3.2.0, <3.2.8 <2.3.16 |
3.0.17 3.1.8 3.2.8 2.3.16 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/rails/rails/commit/28f2c6f4037081da0a82104a3f473165ed4ed2ce
web
-
github.com
/rails/rails/commit/780a718723cf87b49cfe204d355948c4e0932d23
web
-
github.com
/rails/rails/commit/d0c9759d3aeb6327d68dd6c0de0fe2fed4e3c870
web
-
github.com
/rails/rails/commit/d549df7133f2b0bad8112890d478c33e990e12bc
web
-
rhn.redhat.com
/errata/RHSA-2013-0154.html
vendor-advisory, web
-
weblog.rubyonrails.org
/2012/8/9/ann-rails-3-2-8-has-been-released/
vendor-advisory
-
secunia.com
/advisories/50694
third-party-advisory
-
groups.google.com
/group/rubyonrails-security/msg/8f1bbe1cef8c6caf?dmode=source&output=gplain
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2012-3464
advisory
-
github.com
/rails/rails/issues/7215
web
-
github.com
/advisories/GHSA-h835-75hw-pj89
advisory
-
github.com
/rails/rails
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2012-3464.yml
web
-
weblog.rubyonrails.org
/2012/8/9/ann-rails-3-2-8-has-been-released
web
Sources
- CVE List CVE-2012-3464
- GitHub Advisory GHSA-h835-75hw-pj89
- NVD CVE-2012-3464
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.