CVE-2015-3226 json
activesupport Cross-site Scripting vulnerability
published 11y ago modified 4mo ago also GHSA-vxvp-4xwc-jpp6 , EUVD-2017-0317
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.
Patch / fix
- rubygems activesupport 4.1.11, 4.2.2
- rails Debian 14, Debian 13, Debian 12 2:4.2.4-2
debian advisories DEBIAN-CVE-2015-3226
- rubygem-activesupport-4_1 OpenStack Cloud 5 4.1.9-9.2
suse advisories SUSE-SU-2016:0082-1
- rubygem-activesupport-4_2 openSUSE Tumbleweed 5.0.0.1-1.1
opensuse advisories openSUSE-SU-2024:10574-1
Is CVE-2015-3226 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-3226 updated cvss 4.3
rubygem-activesupport: XSS Vulnerability in ActiveSupport::JSON.encode
-
Red Hat CloudForms Management Engine 5 ruby193-rubygem-activesupport Red Hat Software Collections ruby193-rubygem-activesupport, rh-ror41-rubygem-activesupport Red Hat Subscription Asset Manager rubygem-activesupport, ruby193-rubygem-activesupportaffected: no fix planned “Will not fix”
-
Red Hat Software Collections ror40-rubygem-activesupportnot affected: vulnerable code not present
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.76% chance of exploitation in the next 30 days, higher than 86% 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 | >=4.1.0, <4.1.11 >=4.2.0, <4.2.2 |
4.1.11 4.2.2 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
debian.org
/security/2016/dsa-3464
vendor-advisory, web
-
groups.google.com
/forum/message/raw?msg=rubyonrails-security/7VlB_pck3hU/3QZrGIaQW6cJ
mailing-list, web, vendor-advisory
-
securitytracker.com
/id/1033755
vdb-entry
-
securityfocus.com
/bid/75231
vdb-entry
-
openwall.com
/lists/oss-security/2015/06/16/17
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2015-3226
advisory
-
github.com
/rails/rails
package
-
groups.google.com
/g/rubyonrails-core/c/qBUqVlXERag/m/kuH3wQk1kxUJ
web
-
web.archive.org
/web/20200228033946/http://www.securityfocus.com/bid/75231
web
-
web.archive.org
/web/20200517005133/http://www.securitytracker.com/id/1033755
web
Sources
- CVE List CVE-2015-3226
- GitHub Advisory GHSA-vxvp-4xwc-jpp6
- NVD CVE-2015-3226
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.