CVE-2015-3226
Summary
| CVE | CVE-2015-3226 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2015-07-26 22:59:05 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| Description | 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:N/AC:M/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Rubyonrails | Rails | 3.0.0 | All | All | All |
| Application | Rubyonrails | Rails | 3.1.0 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.0 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.1 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.10 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.11 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.12 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.13 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.15 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.16 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.17 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.2 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.3 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.4 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.5 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.6 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.7 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.8 | All | All | All |
| Application | Rubyonrails | Rails | 3.2.9 | All | All | All |
| Application | Rubyonrails | Rails | 4.1.0 | All | All | All |
| Application | Rubyonrails | Rails | 4.1.1 | All | All | All |
| Application | Rubyonrails | Rails | 4.1.2 | All | All | All |
| Application | Rubyonrails | Rails | 4.1.3 | All | All | All |
| Application | Rubyonrails | Rails | 4.1.4 | All | All | All |
| Application | Rubyonrails | Rails | 4.1.5 | All | All | All |
| Application | Rubyonrails | Rails | 4.1.6 | All | All | All |
| Application | Rubyonrails | Rails | 4.1.7 | All | All | All |
| Application | Rubyonrails | Rails | 4.1.8 | All | All | All |
| Application | Rubyonrails | Rails | 4.2.0 | All | All | All |
| Application | Rubyonrails | Rails | 4.2.1 | All | All | All |
| Application | Rubyonrails | Ruby On Rails | 3.2.14 | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| oss-security - [CVE-2015-3226] XSS Vulnerability in ActiveSupport::JSON.encode | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | |
| Debian -- Security Information -- DSA-3464-1 rails | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| groups.google.com/forum/message/raw | af854a3a-2127-422b-91ae-364da2661108 | groups.google.com | Vendor Advisory |
| JSON 'ActiveSupport::JSON.encode()' Function Cross Site Scripting Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| Rails Bugs Let Remote Users Deny Service and Conduct Cross-Site Scripting Attacks - SecurityTracker | af854a3a-2127-422b-91ae-364da2661108 | www.securitytracker.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.